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