Garry's Mod Wiki

Revision Difference

Vector:Length2D#526914

<function name="Length2D" parent="Vector" type="classfunc"> <description>Returns the length of the vector in two dimensions, without the Z axis.</description> <realm>Shared</realm> <rets> <ret name="" type="number">Length of the vector in two dimensions, &radic;&lt;span style="text-decoration:overline;"&gt;&nbsp;x&sup2; + y&sup2;&nbsp;&lt;/span&gt;</ret> <ret name="" type="number">Length of the vector in two dimensions, √(x² + y²)</ret> </rets> </function>