For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Function multiplyScalarAndAdd
-
Parameters
- out: mat4
the receiving vector
- a: ReadonlyMat4
the first operand
- b: ReadonlyMat4
the second operand
- scale: number
the amount to scale b's elements by before adding
Returns mat4
out
- out: mat4
Adds two mat4's after multiplying each element of the second operand by a scalar value.