Skip to content

SetIdentityMatrix (RSDKv3)

Description

Sets the matrix of MatID to the identity state.

Parameters

MatID

The matrix to set the identity. Valid matrices are MAT_WORLD, MAT_VIEW, and MAT_TEMP.

Return Value

None.

Syntax

SetIdentityMatrix(int MatID)

Example

SetIdentityMatrix(MAT_WORLD)