Function directx_math::XMMatrixIsIdentity [−][src]
pub fn XMMatrixIsIdentity(M: FXMMATRIX) -> bool
Tests whether a matrix is the identity matrix.
Parameters
M
Matrix to test.
Return value
Returns true
if M
is the identity matrix, and false
otherwise.
Reference
https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMMatrixIsIdentity