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 scaleAndAdd
-
Parameters
- out: vec4
the receiving vector
- a: ReadonlyVec4
the first operand
- b: ReadonlyVec4
the second operand
- scale: number
the amount to scale b by before adding
Returns vec4
out
- out: vec4
Adds two vec4's after scaling the second operand by a scalar value