linearly v0.32.0Docs


linearly v0.32.0 / mat2d / scale

Function: scale()

scale(m, s, origin?): mat2d

Scales the mat2d by the dimensions in the given vec2

Parameters

m: mat2d

s: vec2

origin?: vec2

Returns

mat2d

Defined in

src/mat2d.ts:224open in new window