Cogl.Quaternion.prototype.init_identity
function init_identity(): void { // Gjs wrapper for cogl_quaternion_init_identity() }
Initializes the quaternion with the canonical quaternion identity [1 (0, 0, 0)] which represents no rotation. Multiplying a quaternion with this identity leaves the quaternion unchanged.
You might also want to consider using Cogl.get_static_identity_quaternion.
Since 2.0