C4 Engine
C4 Engine API Documentation

Vector4D::RotateAboutX

Defined in:  TSVector4D.h
Rotates a vector about the x axis.
Prototype

Vector4D& RotateAboutX(float angle);

Parameters
angle The angle through which the vector is rotated, in radians.
Description
The RotateAboutX function rotates a vector about the x axis through the angle given by the angle parameter. The w coordinate is not modified.

The return value is a reference to the vector object.
See Also

Vector4D::RotateAboutY

Vector4D::RotateAboutZ

Vector4D::RotateAboutAxis