vector quaterniontoeuler(vector4 orient, int order)
Creates a vector representing euler angles from a vector4 representing a quaternion.
The angles are in radians. Use the degrees()
function to convert radians into degrees.
Specify the rotation order with the order integer. Use the constants defined in $HH/vex/include/math.h
(for example, XFORM_XYZ
).
For more information, see Data types and Dot operator.
See also | |
quaternion |