C4 Engine
C4 Engine API Documentation

Quaternion::MakeRotationX

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

Quaternion::MakeRotationY

Quaternion::MakeRotationZ

Quaternion::MakeRotation

Quaternion::GetRotationMatrix