Beispiel #1
0
 public void update() {
   _actualFps = 1000f / (p.millis() - _lastTime);
   _timeFactor = _targetFps / _actualFps;
   _timeFactorEased.setTarget(_timeFactor);
   _timeFactorEased.update();
   _lastTime = p.millis();
 }
Beispiel #2
0
 public float multiplierEased() {
   return _timeFactorEased.value();
 }