# Vector/Length2D

From Garry's Mod

(Difference between revisions)

Robotboy655 (Talk | contribs) |
|||

Line 8: | Line 8: | ||

{{Ret | {{Ret | ||

|type=number | |type=number | ||

− | |desc=Length of the vector in two dimensions | + | |desc=Length of the vector in two dimensions, sqrt(x² + y²) |

}} | }} |

## Revision as of 14:39, 2 February 2015

# Description

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

# Returns

Length of the vector in two dimensions, sqrt(x² + y²)