transforml

Method:

transforml - transform by 3 x 3 top-left sub-matrix

Syntax:

m.transforml(vTo, vFrom);

Parameters:

vFrom - vector to be transformed

Returns:

-

Description:

Transforms a vector by operating the parameter only with the 3*3 top-left submatrix, which is the linear part of the affine matrix operator. This means that you can use the transforml() method to transform vectors.

Example:

// define a transformation matrix