linearly v0.32.0Docs


linearly v0.32.0 / mat2d / multiplyScalarAndAdd

Function: multiplyScalarAndAdd()

multiplyScalarAndAdd(a, b, scale): mat2d

Adds given mat2d’s after multiplying each element of the second operand by a scalar value.

Parameters

a: mat2d

b: mat2d

scale: number

Returns

mat2d

Defined in

src/mat2d.ts:498open in new window