Garry's Mod Wiki

Garry's Mod Wiki

  number Vector:Length2DSqr()

Description

Returns the squared length of the vectors x and y value, x² + y².

This is faster than Vector:Length2D as calculating the square root is an expensive process.

Returns

1 number
Squared length of the vector in two dimensions

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...