Cogl.Matrix.prototype.translate
function translate(x: Number(gfloat), y: Number(gfloat), z: Number(gfloat)): void { // Gjs wrapper for cogl_matrix_translate() }
Multiplies matrix with a transform matrix that translates along the X, Y and Z axis.
- x
The X translation you want to apply
- y
The Y translation you want to apply
- z
The Z translation you want to apply