scale

fun scale(sx: Double, sy: Double): Matrix3

Scales this matrix with the given scalar values.

Return

A reference to this matrix.

Parameters

sx

The amount to scale in the X axis.

sy

The amount to scale in the Y axis.