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