[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'matrix' (#rtl)

Tmatrix4_single.inverse

Calculates the inverse of the matrix.

Declaration

Source position: matrix.pp line 236

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.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.