MCPcopy Create free account
hub / github.com/dailydotdev/apps / frame

Function frame

packages/webapp/components/world/engine/world.js:10539–10539  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10537/* ===================================================================== loop */
10538let last=0, lastSky=0, raf=0;
10539function 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. */

Callers 1

createWorldEngineFunction · 0.85

Calls 1

tickFunction · 0.70

Tested by

no test coverage detected