Just Cause 2: Multiplayer
Website
Home
/
Lua
/
Shared
/
Vector3
/
Static Functions
/
DistanceSqr2D
Returns
number
Prototype
Vector3.DistanceSqr2D(Vector3, Vector3)
Description
Calculates the squared 2D distance between the given vectors ignoring the y-axis value, this is much faster than calculating the normal distance.