translateMat3x3

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