Cogl.Matrix.prototype.rotate
function rotate(angle: Number(gfloat), x: Number(gfloat), y: Number(gfloat), z: Number(gfloat)): void { // Gjs wrapper for cogl_matrix_rotate() }
Multiplies matrix with a rotation matrix that applies a rotation of angle degrees around the specified 3D vector.
- angle
The angle you want to rotate in degrees
- x
X component of your rotation vector
- y
Y component of your rotation vector
- z
Z component of your rotation vector