Quaternion::MakeRotationX
Defined in:
Returns a quaternion that represents a rotation about the x axis.
TSQuaternion.h
Prototype
static Quaternion MakeRotationX(float angle);
Parameters
angle |
The angle of rotation, in radians. |
Description
The MakeRotationX
function returns a quaternion representing the rotation through the angle given by the angle
parameter about the x axis. The resulting quaternion has unit length.
See Also