linearly v0.32.0Docs


linearly v0.32.0 / vec3 / scaleAndAdd

Function: scaleAndAdd()

scaleAndAdd(a, b, scale): vec3

Adds given vec3’s after scaling the second operand by a scalar value

Parameters

a: vec3

b: vec3

scale: number

Returns

vec3

Defined in

src/vec3.ts:362open in new window