Skip to content

createScaleMatrix

createScaleMatrix(x, y?): TMat2D

Parameters

x: number

scale on X axis

y?: number = x

scale on Y axis

Returns

TMat2D

matrix

Defined in

src/util/misc/matrix.ts:200