DarkBASIC Professional Help File

DX11 GET IDENTITY MATRIX

Sets the matrix given as a parameter to the identity matrix and returns it, alternatively creates a new
temporary matrix, sets it to the identity matrix and returns it.

Syntax

    Return Dword = DX11 GET IDENTITY MATRIX([matrix])

Parameters

    [Optional] matrix

> Dword
> The matrix to set to the identity matrix.

Returns

The input matrix, which is now set to the identity matrix, or a new, temporary matrix which is set to the same.

See also

MATH Functions Menu
DX11 Function Categories