Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!
Difference between revisions of "normalize"
From Quake Wiki
(Created page with "====Syntax:==== <code>vector normalize(vector vec)</code> This function normalizes a vector. ====Parameters:==== :<code>vec</code> - The vector to normalize ====Returns:==== ...") |
(No difference)
|
Revision as of 01:02, 25 March 2013
Syntax:
vector normalize(vector vec)
This function normalizes a vector.
Parameters:
vec
- The vector to normalize
Returns:
- An identical vector as
vec
but with length of 1.