INVERT MATRIX: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
New page: {{Command|syntax=INVERT_MATRIX <matrix array> |description=*DESCRPTION* |param1=<matrix array>|param1_desc= }} ===Example=== :- INVERT_MATRIX Category:Matrices
 
Mikeo (talk | contribs)
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[:Category:Matrices|{{Up}}]]
{{Command|syntax=INVERT_MATRIX <matrix array>
{{Command|syntax=INVERT_MATRIX <matrix array>
|description=*DESCRPTION*
|description=:Get a transformation matrix that is the invert of a current transformation.


|param1=<matrix array>|param1_desc=
|param1=<matrix array>|param1_desc={{parameter_variable_matrix}}
}}
}}


===Example===
===Example===
:- INVERT_MATRIX
: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.
[[Category:Matrices]]
[[Category:Matrices]]

Latest revision as of 18:13, 12 January 2011

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.