C4 Engine
C4 Engine API Documentation

Matrix3D::MakeRotation

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

static Matrix3D 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

Matrix3D::MakeRotationX

Matrix3D::MakeRotationY

Matrix3D::MakeRotationZ

Matrix3D::SetIdentity

Matrix3D::Set