@kognifai/cogsengine
    Preparing search index...

    Function multiplyScalarAndAdd

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

      Parameters

      • out: mat2d

        the receiving vector

      • a: ReadonlyMat2d

        the first operand

      • b: ReadonlyMat2d

        the second operand

      • scale: number

        the amount to scale b's elements by before adding

      Returns mat2d

      out