C4 Engine
C4 Engine API Documentation

Quaternion::MakeRotationZ

Defined in:  TSQuaternion.h
Returns a quaternion that represents a rotation about the z axis.
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

Quaternion::MakeRotationX

Quaternion::MakeRotationY

Quaternion::MakeRotation

Quaternion::GetRotationMatrix