Vector/Length2D

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Name=Length2D |Parent=Vector |Description=Returns the length of the vector. |Realm=Shared |IsClass=Yes }} {{Ret |type=number |desc= length }}")
 
Line 2: Line 2:
 
|Name=Length2D
 
|Name=Length2D
 
|Parent=Vector
 
|Parent=Vector
|Description=Returns the length of the vector.
+
|Description=Returns the length of the vector in two dimensions, without the Z axis.
 
|Realm=Shared
 
|Realm=Shared
 
|IsClass=Yes
 
|IsClass=Yes
Line 8: Line 8:
 
{{Ret
 
{{Ret
 
|type=number
 
|type=number
|desc= length
+
|desc=Length of the vector in two dimensions
 
}}
 
}}

Revision as of 19:59, 23 February 2014

 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
Personal tools
Navigation