Motor3D::MakeRotation
Defined in:
Returns a motor that represents a rotation about a given axis through the origin.
TSMotor3D.h
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