C4 Engine
C4 Engine API Documentation

Transform4D::MakeRotation

Defined in:  TSMatrix4D.h
Returns a matrix that represents a rotation about a given axis.
Prototype

static Transform4D MakeRotation(float angle, const Bivector3D& axis);

Parameters
angle The angle through which to rotate, in radians.
axis The axis about which to rotate. This bivector must have unit magnitude.
Description
The MakeRotation function returns a matrix representing a rotation through the angle given by the angle parameter about the axis given by the axis parameter.
See Also

Transform4D::MakeRotationX

Transform4D::MakeRotationY

Transform4D::MakeRotationZ