math docs
    Preparing search index...

    Variable exactEqualsConst

    exactEquals: (
        a: readonly [number, number, number, number],
        b: readonly [number, number, number, number],
    ) => boolean = vec4.exactEquals

    Returns whether or not the quaternions have exactly the same elements in the same position (when compared with ===)

    Type Declaration

      • (
            a: readonly [number, number, number, number],
            b: readonly [number, number, number, number],
        ): boolean
      • Returns whether or not the vectors have exactly the same elements in the same position (when compared with ===)

        Parameters

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

          The first vector.

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

          The second vector.

        Returns boolean

        True if the vectors are equal, false otherwise.

    The first quaternion.

    The second quaternion.

    True if the quaternions are equal, false otherwise.