public float DistanceSquared(Vector2f point) { GetClosestPoint(point, closest); closest.Sub(point); float result = closest.LengthSquared(); return(result); }
public float LengthSquared() { return(vec.LengthSquared()); }