makeTranslation

Sets this matrix as a 2D translation transform from the translation vector v.

Return

A reference to this matrix.


Sets this matrix as a 2D translation transform.

Return

A reference to this matrix.

Parameters

x

The amount to translate in the X axis.

y

The amount to translate in the Y axis.