scale method

dynamic scale(
  1. dynamic timeScale
)

Implementation

scale(timeScale) {
  if (timeScale != 1.0) {
    var times = this.times;

    for (var i = 0, n = times.length; i != n; ++i) {
      times[i] *= timeScale;
    }
  }

  return this;
}