Microsoft DirectX 8.1 (C++)

D3DXMatrixIsIdentity

Determines if a matrix is an identity matrix.

BOOL D3DXMatrixIsIdentity(
  CONST D3DXMATRIX* pM
); 

Parameters

pM
[in] Pointer to the D3DXMATRIX structure that will be tested for identity.

Return Values

If the matrix is an identity matrix, this function returns TRUE. Otherwise, this function returns FALSE.

Requirements

  Header: Declared in D3dx8math.h.
  Import Library: Use D3dx8.lib.

See Also

D3DXMatrixIdentity