PEXInvertMatrix2D(3) — Subroutines
Name
PEXInvertMatrix2D
Synopsis
int PEXInvertMatrix2D(PEXMatrix3x3 transform, PEXMatrix3x3 transform_return)
Arguments
transformThe transformation matrix to invert
transform_return
The inverse transformation
Returns
Zero if successful; non-zero if unsuccessful.
Description
This function computes the inverse of a 2D transformation matrix.
An unsuccessful status is returned if the matrix is non-invertible.
The two arguments may be the same variable, in which case the inversion is performed in-place, overwriting the original transform.
Errors
None
See Also
PEXInvertMatrix