Garry's Mod Wiki

Vector:LengthSqr

Parsing Error: Reference to undeclared entity 'sup2'. Line 3, position 45.

Returns the squared length of the vector, x² + y² + z².

This is faster than Vector:Length as calculating the square root is an expensive process. </description> <realm>Shared</realm> <rets> <ret name="" type="number">Squared length of the vector</ret> </rets> </function>

Page Links


Special Pages


Wikis

?

Render Time: 24ms

Session 0
DB GetPage 4
Generate Html 0
Render Body 0
Render Sidebar 11