Sets the elements of the 3x3 matrix m so it becomes a 2D translation matrix.
m
Multiplying the resulting matrix by a column vector will translate the given vector by [ tx ty ] (see mulV)
[ tx ty ]
mulV
a 3x3 matrix object
the amount of translation along the x-axis
the amount of translation along the y-axis
m set to be a 2D translation matrix
Generated using TypeDoc
Sets the elements of the 3x3 matrix
m
so it becomes a 2D translation matrix.Multiplying the resulting matrix by a column vector will translate the given vector by
[ tx ty ]
(seemulV
)