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