Vector3D::RotateAboutAxis
Defined in:
Rotates a vector about a given axis.
TSVector3D.h
Prototype
Vector3D& RotateAboutAxis(float angle, const Bivector3D& axis);
Parameters
angle |
The angle through which the vector is rotated, in radians. |
axis |
The axis about which the vector is rotated. |
Description
The RotateAboutAxis
function rotates a vector through the angle given by the angle
parameter about the axis given by the axis
parameter.The return value is a reference to the vector object.
See Also