C4 Engine
C4 Engine API Documentation

Vector4D::RotateAboutZ

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

Vector4D& RotateAboutZ(float angle);

Parameters
angle The angle through which the vector is rotated, in radians.
Description
The RotateAboutZ function rotates a vector about the z 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::RotateAboutX

Vector4D::RotateAboutY

Vector4D::RotateAboutAxis