Vec2.DistanceSq

static float DistanceSq(Vec2& a, Vec2& b)

   
Vec2& a The first point.
Vec2& b And the second point!
RETURNS: float Distance between the two points, but squared!

Calculates the distance between two points in space, but leaves them squared! Make sure they’re in the same coordinate space! This is a fast function :)