C4 Engine
C4 Engine API Documentation

Vector3D::RotateAboutAxis

Defined in:  TSVector3D.h
Rotates a vector about a given axis.
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

Vector3D::RotateAboutX

Vector3D::RotateAboutY

Vector3D::RotateAboutZ