Funzione D3DXMatrixIsIdentity

Nota

La libreria di utilità D3DX è deprecata. È consigliabile usare invece DirectXMath .

Determina se una matrice è una matrice di identità.

Sintassi

BOOL D3DXMatrixIsIdentity(
  _In_ const D3DXMATRIX *pM
);

Parametri

pM [in]

Tipo: const D3DXMATRIX*

Puntatore alla struttura D3DXMATRIX che verrà testata per l'identità.

Valore restituito

Tipo: BOOL

Se la matrice è una matrice di identità, questa funzione restituisce TRUE. In caso contrario, questa funzione restituisce FALSE.

Requisiti

Requisito Valore
Intestazione
D3dx9math.h
Libreria
D3dx9.lib

Vedi anche

Funzioni matematiche

D3DXMatrixIdentity