INVERT MATRIX: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (3 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= | |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=== | ||
: | :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
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.