b;a.pointLightPosition.needsUpdate=b;a.pointLightDistance.needsUpdate=b;a.spotLightColor.needsUpdate=b;a.spotLightPosition.needsUpdate=b;a.spotLightDistance.needsUpdate=b;a.spotLightDirection.needsUpdate=b;a.spotLightAngleCos.needsUpdate=b;a.spotLightExponent.needsUpdate=b;a.hemisphereLightSkyColor.needsUpdate=b;a.hemisphereLightGroundColor.needsUpdate=b;a.hemisphereLightDirection.needsUpdate=b}functionE(){vara=Lb;a>=Lc&&console.warn("WebGLRenderer: trying to use "+a+" texture units while this GPU supports only "+
b){console.warn("THREE.WebGLRenderer: .setClearColorHex() is being removed. Use .setClearColor() instead.");this.setClearColor(a,b)};this.getClearColor=function(){returnsa};this.getClearAlpha=function(){returndb};this.clear=function(a,b,c){vard=0;if(void0===a||a)d|=m.COLOR_BUFFER_BIT;if(void0===b||b)d|=m.DEPTH_BUFFER_BIT;if(void0===c||c)d|=m.STENCIL_BUFFER_BIT;m.clear(d)};this.clearColor=function(){m.clear(m.COLOR_BUFFER_BIT)};this.clearDepth=function(){m.clear(m.DEPTH_BUFFER_BIT)};this.clearStencil=
e.__webglParticleCount)}};this.render=function(a,b,c,d){if(!1===binstanceofTHREE.Camera)console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");else{vare=a.fog;Bb=-1;Yb=null;gc=!0;!0===a.autoUpdate&&a.updateMatrixWorld();void0===b.parent&&b.updateMatrixWorld();a.traverse(function(a){ainstanceofTHREE.SkinnedMesh&&a.skeleton.update()});b.matrixWorldInverse.getInverse(b.matrixWorld);xc.multiplyMatrices(b.projectionMatrix,b.matrixWorldInverse);Bc.setFromMatrix(xc);
e.__webglParticleCount)}};this.render=function(a,b,c,d){if(!1===binstanceofTHREE.Camera)console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");else{vare=a.fog;Bb=Ga=-1;Yb=null;gc=!0;!0===a.autoUpdate&&a.updateMatrixWorld();void0===b.parent&&b.updateMatrixWorld();a.traverse(function(a){ainstanceofTHREE.SkinnedMesh&&a.skeleton.update()});b.matrixWorldInverse.getInverse(b.matrixWorld);xc.multiplyMatrices(b.projectionMatrix,b.matrixWorldInverse);Bc.setFromMatrix(xc);
this.renderImmediateObject=function(a,b,c,d,e){varf=x(a,b,c,d,e);Ja=-1;H.setMaterialFaces(d);e.immediateRenderCallback?e.immediateRenderCallback(f,m,Bc):e.render(function(a){H.renderBufferImmediate(a,f,d)})};varsb={},rc=0;this.initMaterial=function(){console.warn("THREE.WebGLRenderer: .initMaterial() has been removed.")};this.setFaceCulling=function(a,b){a===THREE.CullFaceNone?m.disable(m.CULL_FACE):(b===THREE.FrontFaceDirectionCW?m.frontFace(m.CW):m.frontFace(m.CCW),a===THREE.CullFaceBack?m.cullFace(m.BACK):
this.renderImmediateObject=function(a,b,c,d,e){varf=x(a,b,c,d,e);Ga=-1;H.setMaterialFaces(d);e.immediateRenderCallback?e.immediateRenderCallback(f,m,Bc):e.render(function(a){H.renderBufferImmediate(a,f,d)})};varsb={},rc=0;this.initMaterial=function(){console.warn("THREE.WebGLRenderer: .initMaterial() has been removed.")};this.setFaceCulling=function(a,b){a===THREE.CullFaceNone?m.disable(m.CULL_FACE):(b===THREE.FrontFaceDirectionCW?m.frontFace(m.CW):m.frontFace(m.CCW),a===THREE.CullFaceBack?m.cullFace(m.BACK):