This library currently uses window.requestAnimationFrame if available and falls back to setTimeout otherwise. The upcoming WebVR API will use display.requestAnimationFrame to schedule frames on attached VR displays. This library should support such loops.
This library currently uses
window.requestAnimationFrameif available and falls back tosetTimeoutotherwise. The upcoming WebVR API will usedisplay.requestAnimationFrameto schedule frames on attached VR displays. This library should support such loops.