mrdoob/timer.js — comment on commit 098198480dd9c27bffec236bb523feba1a9c272d
File: src/Timer.js line 24
By mrdoob:

Not only that... .currentDelta is not right.

For instance, imagine that you have an object moving on the screen that use deltas for each position increment. However, you're using requestAnimationFrame, so if you change to another tab and then come back, the delta that this code will give you is not the difference from the last time you were in the tab to now (which is what you want).

So maybe I can add a subsystem for that... something like `.getDelta()` that would use a internal _deltatime var that updates from _time?