operator < method

bool operator <(
  1. Vector2d other
)

Implementation

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