XMMatrixDeterminant

Computes the determinant of a matrix.

Syntax

XMVECTOR XMMatrixDeterminant(
         CXMMATRIX M
)  

Parameters

M
Type: CXMMATRIX 

Matrix from which to compute the determinant.

Return value

Type: XMVECTOR 

Returns a vector. The determinant of M is replicated into each component.

Requirements

Header: Declared in directxmath.h.