ROTATE MATRIX: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
[[:Category:Matrices|{{Up}}]] | |||
{{Command|syntax=ROTATE_MATRIX <matrix array>, <vx>, <vy>, <vz> | {{Command|syntax=ROTATE_MATRIX <matrix array>, <vx>, <vy>, <vz> | ||
|description=*DESCRPTION* | |description=*DESCRPTION* | ||
| Line 9: | Line 11: | ||
===Example=== | ===Example=== | ||
: | :ROTATE_MATRIX | ||
[[Category:Matrices]] | [[Category:Matrices]] | ||
Revision as of 14:33, 2 August 2010
Command
- ROTATE_MATRIX <matrix array>, <vx>, <vy>, <vz>
- DESCRPTION*
Parameters
- <matrix array>
- A transformation matrix contains 12 values. These are stored in an array variable that must be defined to hold at least 12 values. If the array variable is defined with a size of more than 12, the first 12 values are used for the transformation matrix.
- <vx>
- the X component of a vector.
- <vy>
- the Y component of a vector.
- <vz>
- the Z component of a vector.
Example
- ROTATE_MATRIX