Lua/Shared/Vector2/Functions/DistanceSqr
From JC2-MP Documentation
| Returns | number |
|---|---|
| Prototype | Vector2:DistanceSqr(Vector2 b) |
| Description | Calculates the squared distance of subject and b vectors. |
Additional Notes
- This function is faster than Vector2:Distance(), as no square root is required.