Vector:DistanceTo2DSqr(Vector, Vector)
shared
Calculates the squared distance between two vectors in 2D space.
Arguments
Returns
-
number
The squared distance between the two vectors in 2D space.
Examples
Vector:DistanceTo2DSqr – Calculates the squared distance between two vectors in 2D space.