Cogl.get_static_identity_quaternion
function get_static_identity_quaternion(): Cogl.Quaternion {
// Gjs wrapper for cogl_get_static_identity_quaternion()
}
Returns a pointer to a singleton quaternion constant describing the canonical identity [1 (0, 0, 0)] which represents no rotation.
If you multiply a quaternion with the identity quaternion you will get back the same value as the original quaternion.
Since 2.0
- Returns
A pointer to an identity quaternion