import { WebGLRenderer } from "https://deno.land/x/threejs_4_deno@v121/src/renderers/WebGLRenderer.d.ts";
A build in function that can be used instead of requestAnimationFrame. For WebXR projects this function must be used.
Parameters
callback: XRAnimationLoopCallback | null
The function will be called every available frame. If null
is passed it will stop any already ongoing animation.