Vector4D::RotateAboutAxis
Defined in:
Rotates a vector about a given axis.
TSVector4D.h
Prototype
Vector4D& 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 w coordinate is not modified.The return value is a reference to the vector object.
See Also