Matrix 3d

From IncendiaWiki
Jump to: navigation, search

matrix_3d a b c d e f g h i

matrix_3d is an Incendia Script command that performs a 3D affine transformation from the matrix:

 
a b c
d e f
g h i
 

parameters:
a b c d e f g h i, matrix elements
Example:
matrix_3d 0.5 0.0 0.0 0.0 0.5 0.0 0.0 0.0 0.5