()
| 10537 | /* ===================================================================== loop */ |
| 10538 | let last=0, lastSky=0, raf=0; |
| 10539 | function frame(){ raf=requestAnimationFrame(frame); tick(); } |
| 10540 | /* Split out from frame() so one can be run without scheduling the next — a |
| 10541 | hidden tab pauses rAF, and the only way to step the world in that state is to |
| 10542 | have a tick that does not re-queue itself. */ |
no test coverage detected