scale method

Matrix4 scale(
  1. double s
)

Implementation

Matrix4 scale(double s) {
  final te = storage;

  te[0] *= s;
  te[4] *= s;
  te[8] *= s;
  te[12] *= s;
  te[1] *= s;
  te[5] *= s;
  te[9] *= s;
  te[13] *= s;
  te[2] *= s;
  te[6] *= s;
  te[10] *= s;
  te[14] *= s;
  te[3] *= s;
  te[7] *= s;
  te[11] *= s;
  te[15] *= s;

  return this;
}