translate Mat3x3
Constructs a translation 3x3 matrix.
Parameters
tx
The translation along the x-axis
ty
The translation along the y-axis
res
The resulting translation 4x4 matrix
Constructs a translation 3x3 matrix.
The translation along the x-axis
The translation along the y-axis
The resulting translation 4x4 matrix