null,ya=new gg;ya.setAnimationLoop(function(a){ja.isPresenting()||Ca&&Ca(a)});"undefined"!==typeof window&&ya.setContext(window);this.setAnimationLoop=function(a){Ca=a;ja.setAnimationLoop(a);ya.start()};this.render=function(a,c,d,e){if(void 0!==d){console.warn("THREE.WebGLRenderer.render(): the renderTarget argument has been removed. Use .setRenderTarget() instead.");var f=d}if(void 0!==e){console.warn("THREE.WebGLRenderer.render(): the forceClear argument has been removed. Use .clear() instead.");
b);else p(b.material,a.fog,b)})};var Ca=null,ya=new gg;ya.setAnimationLoop(function(a){ja.isPresenting()||Ca&&Ca(a)});"undefined"!==typeof window&&ya.setContext(window);this.setAnimationLoop=function(a){Ca=a;ja.setAnimationLoop(a);ya.start()};this.render=function(a,c,d,e){if(void 0!==d){console.warn("THREE.WebGLRenderer.render(): the renderTarget argument has been removed. Use .setRenderTarget() instead.");var f=d}if(void 0!==e){console.warn("THREE.WebGLRenderer.render(): the forceClear argument has been removed. Use .clear() instead.");
var g=e}c&&c.isCamera?N||(Pe=b=null,Y=!1,ha=-1,X=null,!0===a.autoUpdate&&a.updateMatrixWorld(),null===c.parent&&c.updateMatrixWorld(),ja.enabled&&(c=ja.getCamera(c)),E=ua.get(a,c),E.init(),a.onBeforeRender(C,a,c,f||P),Jd.multiplyMatrices(c.projectionMatrix,c.matrixWorldInverse),kg.setFromMatrix(Jd),sa=this.localClippingEnabled,Ne=Sa.init(this.clippingPlanes,sa,c),I=va.get(a,c),I.init(),l(a,c,0,C.sortObjects),!0===C.sortObjects&&I.sort(),Ne&&Sa.beginShadows(),Da.render(E.state.shadowsArray,a,c),E.setupLights(c),
aa.setPolygonOffset(!1),ja.enabled&&(ta.isAvailable()&&ta.detachCamera(c),ja.submitFrame()),E=I=null):console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.")};this.setFramebuffer=function(a){O!==a&&null===P&&K.bindFramebuffer(36160,a);O=a};this.getActiveCubeFace=function(){return Q};this.getActiveMipmapLevel=function(){return V};this.getRenderTarget=function(){return P};this.setRenderTarget=function(a,b,c){P=a;Q=b;V=c;a&&void 0===Z.get(a).__webglFramebuffer&&ca.setupRenderTarget(a);