operator < method

bool operator <(
  1. Vector2i other
)

Implementation

bool operator <(Vector2i other) {
  return (X < other.X) || (X < other.Z);
}