mat_inverse(matrix1,matrix2)

copies the inverse of matrix2 to matrix1.

Parameters:

matrix1 - target matrix (inverse source matrix)
matrix2 - source matrix

Remarks:

The inverse of a matrix, multiplied by the matrix itself, results in the identity matrix. Note that not every matrix has an inverse, but transformation matrices usually have.

Speed:

fast

Example:

mat_inverse(my_matix, mat_proj);

See also:

matrix, predefined matrices , mat_identity, mat_scale, mat_set, mat_inverse, mat_transpose, mat_multiply