vec3.normalise
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