inverse
Computes the inverse of the provided matrix using Cramers Rule. If the determinant is zero, the matrix can not be inverted, and an exception is thrown. If the matrix is a proper rigid transformation, it is more efficient to invert it with Matrix4.inverseTransformation.
Return
The modified result parameter.
Parameters
matrix
The matrix to invert.
result
The object onto which to store the result.