myVector.transform( transformMatrix ) in Anark Studio 2.5

Transform the vector by a matrix.


transformMatrix Matrix The transformation matrix.
Return Type


Transforms the current vector by the given transform matrix.

The current vector is made into a 4D vector by setting w = 1.0, and this new vector is transformed by the given matrix; the result is then projected back into w = 1.0.