# OEGeom3DMatrixInvert¶

template<class T, class U>
void OEGeom3DMatrixInvert(T *mi, const U *m)


Calculates the inverse of the matrix m and stores the result in mi. By definition, multiplying m times mi will return the identity matrix.

Note

Rotation matrices are orthogonal matrices that can be inverted much more cheaply by using OEGeom3DMatrixTranspose instead.