Sign in Join
FPDoc Onlineexperiment

Tmatrix4_extended.inverse function

Member of Tmatrix4_extendedIn unit matrix

Calculates the inverse of the matrix.

Declaration

pascal
function inverse(Adeterminant: extended): Tmatrix4_extended

Description

Tmatrix4_extended.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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.