B=void0!==b?b:1;X.min.set(-G,-C);X.max.set(G,C)};this.setClearColorHex=function(a,b){console.warn("THREE.CanvasRenderer: .setClearColorHex() is being removed. Use .setClearColor() instead.");this.setClearColor(a,b)};this.getMaxAnisotropy=function(){return0};this.clear=function(){!1===X.empty()&&(X.intersect(za),X.expandByScalar(2),1>B&&z.clearRect(X.min.x|0,X.min.y|0,X.max.x-X.min.x|0,X.max.y-X.min.y|0),0<B&&(k(THREE.NormalBlending),h(1),t("rgba("+Math.floor(255*K.r)+","+Math.floor(255*K.g)+","+
function(a,b){K.set(a);B=void 0!==b?b:1;X.min.set(-G,-C);X.max.set(G,C)};this.setClearColorHex=function(a,b){console.warn("THREE.CanvasRenderer: .setClearColorHex() is being removed. Use .setClearColor() instead.");this.setClearColor(a,b)};this.getMaxAnisotropy=function(){return 0};this.clear=function(){!1===X.empty()&&(X.intersect(za),X.expandByScalar(2),1>B&&z.clearRect(X.min.x|0,X.min.y|0,X.max.x-X.min.x|0,X.max.y-X.min.y|0),0<B&&(k(THREE.NormalBlending),h(1),t("rgba("+Math.floor(255*K.r)+","+
Math.floor(255*K.b)+","+B+")"),z.fillRect(X.min.x|0,X.min.y|0,X.max.x-X.min.x|0,X.max.y-X.min.y|0)),X.makeEmpty())};this.clearColor=function(){};this.clearDepth=function(){};this.clearStencil=function(){};this.render=function(a,y){if(!1===yinstanceofTHREE.Camera)console.error("THREE.CanvasRenderer.render: camera is not an instance of THREE.Camera.");else{!0===this.autoClear&&this.clear();v.info.render.vertices=0;v.info.render.faces=0;u=E.projectScene(a,y,this.sortObjects,this.sortElements);w=u.elements;
Math.floor(255*K.g)+","+Math.floor(255*K.b)+","+B+")"),z.fillRect(X.min.x|0,X.min.y|0,X.max.x-X.min.x|0,X.max.y-X.min.y|0)),X.makeEmpty())};this.clearColor=function(){};this.clearDepth=function(){};this.clearStencil=function(){};this.render=function(a,y){if(!1===y instanceof THREE.Camera)console.error("THREE.CanvasRenderer.render: camera is not an instance of THREE.Camera.");else{!0===this.autoClear&&this.clear();v.info.render.vertices=0;v.info.render.faces=0;u=E.projectScene(a,y,this.sortObjects,
B(d.linewidth),m.drawArrays(f,0,e.__webglLineCount),P.info.render.calls++):f instanceof THREE.PointCloud&&(m.drawArrays(m.POINTS,0,e.__webglParticleCount),P.info.render.calls++,P.info.render.points+=e.__webglParticleCount)}};this.render=function(a,b,c,d){if(!1===b instanceof THREE.Camera)console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");else{var e,f,g,h,k=a.__lights,l=a.fog;Ja=-1;Za=!0;!0===a.autoUpdate&&a.updateMatrixWorld();void 0===b.parent&&b.updateMatrixWorld();
B(d.linewidth),m.drawArrays(f,0,e.__webglLineCount),P.info.render.calls++):f instanceof THREE.PointCloud&&(m.drawArrays(m.POINTS,0,e.__webglParticleCount),P.info.render.calls++,P.info.render.points+=e.__webglParticleCount)}};this.render=function(a,b,c,d){if(!1===b instanceof THREE.Camera)console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");else{var e,f,g,h,k=a.__lights,l=a.fog;Ja=-1;Za=!0;!0===a.autoUpdate&&a.updateMatrixWorld();void 0===b.parent&&b.updateMatrixWorld();