vec3.normalise: Difference between revisions

no edit summary
m (Mex moved page Vec3.normalise to vec3.normalise)
 
No edit summary
Line 6: Line 6:
|parameters = void
|parameters = void
|returnTypes = float
|returnTypes = float
|usage = fetch the normalised value of the 3D vector
|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 normalised 3D vector
|returnInfo = a floating-point number representing the length of the 3D vector
|returnFail1 = float 0.0
|returnFail1 = float 0.0
}}
}}
6,833

edits