scaleMat function

void scaleMat(
  1. Matrix4 mat,
  2. double s
)

Implementation

void scaleMat(Matrix4 mat, double s) {
  for (var i = 0; i < 16; ++i) {
    mat.storage[i] *= s;
  }
}