vec3.normalise: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 6: Line 6:
|parameters = void
|parameters = void
|returnTypes = float
|returnTypes = float
|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)
|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)
|returnInfo = a floating-point number representing the length of the 3D vector
|returnInfo = a floating-point number representing the length of the 3D vector
|returnFail1 = float 0.0
|returnFail1 = float 0.0
}}
}}
6,834

edits