math docs
    Preparing search index...

    Function equals

    • Returns whether or not the quaternions have approximately the same elements in the same position.

      Parameters

      • a: readonly [number, number, number, number]

        The first quaternion.

      • b: readonly [number, number, number, number]

        The second quaternion.

      Returns boolean

      True if the quaternions are equal, false otherwise.