TRANSFORM VECTOR

From Macros Wiki
Revision as of 18:43, 7 October 2014 by Mikeo (talk | contribs) (Created page with "{{Up}} {{Command|syntax=TRANSFORM_VECTOR <matrix array>, <vx>, <vy>, <vz> |description=:Transform a vector. |param1=<matrix array>|param1_desc={{param...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Up

Command

TRANSFORM_VECTOR <matrix array>, <vx>, <vy>, <vz>


Transform a vector.

Parameters

<matrix array>
Name of Matrix variable
<x>
x vector
<y>
y vector
<z>
z vector

Example

GLOBAL Matrix1(12)


GET_CS_MATRIX 3, Matrix1
VX = 0.0
VY = 0.0
VZ = 1.0
TRANSFORM_VECTOR Matrix1, XX, VY, VZ


This will get the matrix for CS 3 and it to transform a vector along the depth axis.