RedGPU API - v3.0.0-Alpha
    Preparing search index...

    Function multiplyScalarAndAdd

    • Adds two mat3's after multiplying each element of the second operand by a scalar value.

      Parameters

      • out: mat3

        the receiving vector

      • a: ReadonlyMat3

        the first operand

      • b: ReadonlyMat3

        the second operand

      • scale: number

        the amount to scale b's elements by before adding

      Returns mat3

      out