Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Difference between revisions of "vlen"
From Quake Wiki
(Created page with "====Syntax:==== <code>float vlen(vector vec)</code> Gets the length of a vector ====Parameters:==== :<code>vec</code> - The vector to measure ====Returns:==== :Returns the le...") |
|||
Line 2: | Line 2: | ||
<code>float vlen(vector vec)</code> | <code>float vlen(vector vec)</code> | ||
− | Gets the length of a vector | + | Gets the absolute length of a vector |
====Parameters:==== | ====Parameters:==== | ||
:<code>vec</code> - The vector to measure | :<code>vec</code> - The vector to measure | ||
====Returns:==== | ====Returns:==== | ||
− | :Returns the length of the vector. | + | :Returns the absolute length of the vector. |
[[Category:QuakeC Function]] | [[Category:QuakeC Function]] |
Revision as of 17:45, 2 May 2015
Syntax:
float vlen(vector vec)
Gets the absolute length of a vector
Parameters:
vec
- The vector to measure
Returns:
- Returns the absolute length of the vector.