Vector:DistanceToAsSqr(Vector, Vector)
shared
Calculates the squared distance between two vectors.
Arguments
Returns
-
number
The squared distance between the two vectors.
Examples
Vector:DistanceToAsSqr – Calculates the squared distance between two vectors.