Cogl.MatrixStack.prototype.rotate_quaternion

function rotate_quaternion(quaternion: Cogl.Quaternion): void {
    // Gjs wrapper for cogl_matrix_stack_rotate_quaternion()
}
  

Multiplies the current matrix by one that rotates according to the rotation described by quaternion.

quaternion

A Cogl.Quaternion