Platform SDK: DirectX

D3DXMatrixfDeterminant

The D3DXMatrixfDeterminant function returns the determinant of the given matrix.

float D3DXMatrixfDeterminant(
  const D3DXMATRIX* pM
); 

Parameters

pM
A pointer to the source D3DXMATRIX structure.

Return Values

The value of the matrix, the determinant.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Version: Requires DirectX 7.0.
  Header: Declared in d3dxmath.h.
  Library: Use d3dx.lib.