linearly v0.32.0Docs


linearly v0.32.0 / mat2 / scale

Function: scale()

scale(a, b): mat2

Scales the mat2 by the dimensions in the given vec2

Parameters

a: mat2

b: number | vec2

Returns

mat2

Defined in

src/mat2.ts:201open in new window