scale

Method:

scale - concatenate scale transformation to the matrix

Syntax:

m.scale(fX, fY, fZ);

Parameters:

vX, vY, vZ - scale factors in x, y and z dimensions.

Returns:

-

Description:

Concatenates scale transformation to the matrix. vOrigin parameter may be given to specify scale origin. vOrigin defines a point which is translated to origin before the actual scale is applied. If no scale origin is given, [0, 0, 0] is assumed.

Example:

m = new r3Matrix();