Function multiplyScalarAndAdd
Parameters
- out: mat2
the receiving vector
- a: ReadonlyMat2
the first operand
- b: ReadonlyMat2
the second operand
- scale: number
the amount to scale b's elements by before adding
Returns mat2
out
- out: mat2
Was this helpful?
the receiving vector
the first operand
the second operand
the amount to scale b's elements by before adding
out
Adds two mat2's after multiplying each element of the second operand by a scalar value.