scale - concatenate scale transformation to the matrix
m.scale(fX, fY, fZ);
vX, vY, vZ - scale factors in x, y and z dimensions.
-
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.
m = new r3Matrix();