Just Cause 2: Multiplayer
Website
Home
/
Lua
/
Shared
/
Vector3
/
Functions
/
LengthSqr
Returns
number
Prototype
Vector3:LengthSqr()
Description
Returns the squared length of the vector.
Additional Notes
This function is faster than
Vector:Length()
, as no square root is required.