Garry's Mod Wiki

Revision Difference

Vector:Length2DSqr#512427

<function name="Length2DSqr" parent="Vector" type="classfunc">⤶ <description>⤶ Returns the squared length of the vectors x and y value, x&amp;sup2; + y&amp;sup2;.⤶ ⤶ This is faster than <page>Vector:Length2D</page> as calculating the square root is an expensive process.⤶ </description>⤶ <realm>Shared</realm>⤶ <rets>⤶ <ret name="" type="number">Squared length of the vector in two dimensions</ret>⤶ </rets>⤶ </function>⤶ ⤶