Cogl.Quaternion.equal

function equal(v1: void, v2: void): Cogl.Bool {
    // Gjs wrapper for cogl_quaternion_equal()
}
  

Compares that all the components of quaternions @a and @b are equal.

An epsilon value is not used to compare the float components, but the == operator is at least used so that 0 and -0 are considered equal.

Since 2.0

v1

A Cogl.Quaternion

v2

A Cogl.Quaternion

Returns

true if the quaternions are equal else false.