Garry's Mod Wiki

Revision Difference

Vector:Length2D#512408

<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>⤶ </rets>⤶ </function>⤶ ⤶