wgpu-matrix
    Preparing search index...

    Variable multiply

    multiply: <T extends BaseArgType = Float32Array<ArrayBufferLike>>(
        a: BaseArgType,
        b: BaseArgType,
        dst?: T,
    ) => T

    Type declaration

      • <T extends BaseArgType = Float32Array<ArrayBufferLike>>(
            a: BaseArgType,
            b: BaseArgType,
            dst?: T,
        ): T
      • Multiplies two quaternions

        Type Parameters

        Parameters

        • a: BaseArgType

          the first quaternion

        • b: BaseArgType

          the second quaternion

        • Optionaldst: T

          quaternion to hold result. If not passed in a new one is created.

        Returns T

        A quaternion that is the result of a * b