setToScale

fun setToScale(xScale: Double, yScale: Double): Matrix3

Sets this matrix to a scale matrix with specified scale components.

Return

this matrix with its scale components set to those specified and all other components set to that of an identity matrix

Parameters

xScale

the X scale component

yScale

the Y scale component