C4 Engine
C4 Engine API Documentation

Motor3D::MakeScrew

Defined in:  TSMotor3D.h
Returns a motor that represents a general screw motion.
Prototype

static Motor3D MakeScrew(float angle, const Line3D& axis, float disp);

Parameters
angle The angle of rotation, in radians.
axis The unitized line about which to rotate.
disp The displacement distance along the line.
Description
The MakeScrew function returns a motor representing a rotation through the angle given by the angle parameter about the line given by the axis parameter and a translation along that line of the distance given by the disp parameter.
See Also

Motor3D::MakeRotation

Motor3D::MakeTranslation