scaleMat3x3

fun scaleMat3x3(sx: Float, sy: Float, x: Float, y: Float, res: FloatArray)

Creates a scale and translation 3x3 matrix.

Parameters

sx

The scale factor along the x-axis

sy

The scale factor along the y-axis

x

The translation along the x-axis

y

The translation along the y-axis

res

The resulting scale/translation 3x3 matrix