C4 Engine Terathon Software C4 Engine API Documentation

• Math Library

API Links
Developer Links

Matrix3D::SetIdentity

Defined in:  C4Matrix3D.h
Sets a matrix to the 3 × 3 identity matrix.
Prototype

Matrix3D& SetIdentity(void);

Description
The SetIdentity function replaces all entries of a matrix with the entries of the identity matrix.

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

Matrix3D::Set

Matrix3D::SetRotationAboutX

Matrix3D::SetRotationAboutY

Matrix3D::SetRotationAboutZ

Matrix3D::SetRotationAboutAxis