C4 Engine
C4 Engine API Documentation

Quaternion::GetRotationMatrix

Defined in:  TSQuaternion.h
Converts a quaternion to a 3 × 3 matrix.
Prototype

Matrix3D GetRotationMatrix(voidconst;

Description
The GetRotationMatrix function converts a unit quaternion to a Matrix3D object that represents the same rotation when it premultiplies a Vector3D object.
See Also

Quaternion::SetRotationMatrix

Quaternion::MakeRotationX

Quaternion::MakeRotationY

Quaternion::MakeRotationZ

Quaternion::MakeRotation