ROTATE MATRIX: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
New page: {{Command|syntax=ROTATE_MATRIX <matrix array>, <vx>, <vy>, <vz> |description=*DESCRPTION* |param1=<matrix array>|param1_desc= |param2=<vx>|param2_desc= |param3=<vy>|param3_desc= |param4=<...
 
ConnerO (talk | contribs)
No edit summary
Line 2: Line 2:
|description=*DESCRPTION*
|description=*DESCRPTION*


|param1=<matrix array>|param1_desc=
|param1=<matrix array>|param1_desc={{matrix array}}
|param2=<vx>|param2_desc=
|param2=<vx>|param2_desc={{vx}}
|param3=<vy>|param3_desc=
|param3=<vy>|param3_desc={{vy}}
|param4=<vz>|param4_desc=  
|param4=<vz>|param4_desc= {{vz}}
}}
}}



Revision as of 18:50, 16 July 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