Graphmath.Quatern.normalize
You're seeing just the function
normalize
, go back to Graphmath.Quatern module for more information.
Link to this function
normalize(q)
Specs
normalize(q)
returns a normalized verison of a quaternion.
q
is the quatern
to be normalized.
This returns a quatern
of unit length in the same direction as q
.
If the magnitude of the quaternion is 0, it will return the zero quaternion.