Join us online - 19th of November
Save your spot
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

  • Adds two vec3's after scaling the second operand by a scalar value

    Parameters

    • out: vec3

      the receiving vector

    • a: ReadonlyVec3

      the first operand

    • b: ReadonlyVec3

      the second operand

    • scale: number

      the amount to scale b by before adding

    Returns vec3

    out

Was this helpful?