inverseTransformation

Computes the inverse of the provided matrix assuming it is a proper rigid matrix, where the upper left 3x3 elements are a rotation matrix, and the upper three elements in the fourth column are the translation. The bottom row is assumed to be 0, 0, 0, 1. The matrix is not verified to be in the proper form. This method is faster than computing the inverse for a general 4x4 matrix using Matrix4.inverse.

Return

The modified result parameter.

Parameters

matrix

The matrix to invert.

result

The object onto which to store the result.

See also