TRANSLATE MATRIX: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
New page: {{Command|syntax=TRANSLATE_MATRIX <matrix array>, <dx>, <dy>, <dz>, |description=*DESCRPTION* |param1=<matrix array>|param1_desc= |param2=<dx>|param2_desc= |param3=<dy>|param3_desc= |para...
 
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=<dx>|param2_desc=
|param2=<dx>|param2_desc={{dx}}
|param3=<dy>|param3_desc=
|param3=<dy>|param3_desc={{dy}}
|param4=<dz>|param4_desc=  
|param4=<dz>|param4_desc= {{dz}}
}}
}}



Revision as of 18:50, 16 July 2010

Command

TRANSLATE_MATRIX <matrix array>, <dx>, <dy>, <dz>,


  • 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.
<dx>
The distance in the X axis direction.
<dy>
The distance in the Y axis direction.
<dz>
The distance in the Z axis direction.

Example

- TRANSLATE_MATRIX