public static int DistanceSquared(Vector2i a, Vector2i b) { int dx = b.x - a.x; int dy = b.y - a.y; return dx * dx + dy * dy; }
public int DistanceSquared(Vector2i v) { return DistanceSquared (this, v); }
private static Vector3 Convert(Vector2i v) { return Convert((Vector2) v); }