vec3.normalise

From GTA Connected
Revision as of 12:26, 24 July 2022 by Mex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

normalise

Signature: void normalise(void)

Usage: normalise the 3D vector, updating it's x, y, and z values, and then returns the length of the 3D vector (because the length was calculated in the normalise code, and may prevent scripts from recalculating it unnecessarily)

Return

void

On failure: float 0.0