C4 Engine
C4 Engine API Documentation

Motor3D::MakeRotation

Defined in:  TSMotor3D.h
Returns a motor that represents a rotation about a given axis through the origin.
Prototype

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

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

Motor3D::MakeTranslation

Motor3D::MakeScrew