::hwat::math::IsIdentityMatrix

Check if the matrix is identity.

Syntax

::hwat::math::IsIdentityMatrix d_matrixList

Arguments

d_matrixList
The list contains 9 elements – 3 rotation components for X, Y, and Z respectively.

Returns

Success
1; an identity matrix
Failure
0; not an identity matrix

Example

::hwat::math::IsIdentityMatrix theMatrixList