linearly v0.32.0Docs


linearly v0.32.0 / vec2 / scaleAndAdd

Function: scaleAndAdd()

scaleAndAdd(a, b, scale): vec2

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

Parameters

a: vec2

b: vec2

scale: number

Returns

vec2

Defined in

src/vec2.ts:325open in new window