Vector/Length2D

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m (Formula layout, replaced non-alphanumerics.)
 
Line 8: Line 8:
 
{{Ret
 
{{Ret
 
|type=number
 
|type=number
|desc=Length of the vector in two dimensions, sqrt(x² + y²)
+
|desc=Length of the vector in two dimensions, &radic;<span style="text-decoration:overline;">&nbsp;x&sup2; + y&sup2;&nbsp;</span>
 
}}
 
}}

Latest revision as of 14:51, 2 February 2015

 Vector:Length2D( )

Description

Returns the length of the vector in two dimensions, without the Z axis.

Returns

number

Length of the vector in two dimensions, √ x² + y² 
Personal tools
Navigation