C4 Engine
C4 Engine API Documentation

Matrix2D::SetIdentity

Defined in:  TSMatrix2D.h
Sets a matrix to the 2 × 2 identity matrix.
Prototype

Matrix2D& 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

Matrix2D::Set

Matrix2D::MakeRotation