INVERT MATRIX

From Macros Wiki
Revision as of 13:13, 12 January 2011 by Mikeo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Up

Command

INVERT_MATRIX <matrix array>


Get a transformation matrix that is the invert of a current transformation.

Parameters

<matrix array>
Name of Matrix variable

Example

GLOBAL MAT1(12)
GET_SCALE_MATRIX MAT1, 0.5
INVERT_MATRIX MAT1
This will get a matrix that scales to half size. Then get the invert of that matrix.