scale method

Matrix3 scale(
  1. double sx,
  2. double sy
)

Implementation

Matrix3 scale(double sx, double sy) {
  final te = elements;

  te[0] *= sx;
  te[3] *= sx;
  te[6] *= sx;
  te[1] *= sy;
  te[4] *= sy;
  te[7] *= sy;

  return this;
}