Skip to content

inverse

Calculates the inverse of the matrix.

Declaration

Source position: matrix.pp line 240

function Tmatrix4_single.inverse(Adeterminant: single) : Tmatrix4_single;

Description

Tmatrix4_single.inverse returns a new matrix that is the inverse of the matrix. You must pass the determinant of the matrix as parameter. Note: Calculating the inverse of a 4*4 matrix requires quite a few operations.