scaleByValues static method

void scaleByValues(
  1. Mat2D o,
  2. double x,
  3. double y
)

Implementation

static void scaleByValues(Mat2D o, double x, double y) {
  o[0] *= x;
  o[1] *= x;
  o[2] *= y;
  o[3] *= y;
}