Garry's Mod Wiki

Revision Difference

Vector:Length2D#517978

<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, &amp;radic;&amp;lt;span style="text-decoration:overline;"&amp;gt;&amp;nbsp;x&amp;sup2; + y&amp;sup2;&amp;nbsp;&amp;lt;/span&amp;gt;</ret> <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> </rets> </function>