Sets the elements of the 3x3 matrix m so it becomes a 2D scaling matrix.
m
Multiplying the resulting matrix by a column vector will scale the given vector by a (see mulV)
a
mulV
a 3x3 matrix object
a 2-element vector specifying the scaling factors
m set to be a 2D scaling matrix
Generated using TypeDoc
Sets the elements of the 3x3 matrix
m
so it becomes a 2D scaling matrix.Multiplying the resulting matrix by a column vector will scale the given vector by
a
(seemulV
)