math docs
    Preparing search index...

    Variable dotConst

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

    Calculates the dot product of two quat's

    Type Declaration

      • (
            a: readonly [number, number, number, number],
            b: readonly [number, number, number, number],
        ): number
      • Calculates the dot product of two vec4's

        Parameters

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

          the first operand

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

          the second operand

        Returns number

        dot product of a and b

    the first operand

    the second operand

    dot product of a and b