C4 Engine Terathon Software C4 Engine API Documentation

• Math Library

API Links
Developer Links

Matrix3D::SetRotationAboutZ

Defined in:  C4Matrix3D.h
Sets a matrix to represent a rotation about the z axis.
Prototype

Matrix3D& SetRotationAboutZ(float angle);

Parameters
angle The angle through which to rotate, in radians.
Description
The SetRotationAboutZ function replaces all entries of a matrix with those representing a rotation about the z axis through the angle given by the angle parameter.

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

Matrix3D::SetRotationAboutX

Matrix3D::SetRotationAboutY

Matrix3D::SetRotationAboutAxis

Matrix3D::SetIdentity

Matrix3D::Set