function(){vara;returnfunction(){if(void0!==a)returna;a=[];if(sa.get("WEBGL_compressed_texture_pvrtc")||sa.get("WEBGL_compressed_texture_s3tc"))for(varb=l.getParameter(l.COMPRESSED_TEXTURE_FORMATS),c=0;c<b.length;c++)a.push(b[c]);returna}}(),dd=0<$c.precision&&0<bd.precision,Tc=0<ad.precision&&0<cd.precision;"highp"!==W||dd||(Tc?(W="mediump",console.warn("THREE.WebGLRenderer: highp not supported, using mediump.")):(W="lowp",console.warn("THREE.WebGLRenderer: highp and mediump not supported, using lowp.")));
"mediump"!==W||Tc||(W="lowp",console.warn("THREE.WebGLRenderer: mediump not supported, using lowp."));this.getContext=function(){returnl};this.supportsVertexTextures=function(){returnkc};this.supportsFloatTextures=function(){returnsa.get("OES_texture_float")};this.supportsStandardDerivatives=function(){returnsa.get("OES_standard_derivatives")};this.supportsCompressedTextureS3TC=function(){returnsa.get("WEBGL_compressed_texture_s3tc")};this.supportsCompressedTexturePVRTC=function(){returnsa.get("WEBGL_compressed_texture_pvrtc")};
b){console.warn("THREE.WebGLRenderer: .setClearColorHex() is being removed. Use .setClearColor() instead.");this.setClearColor(a,b)};this.getClearColor=function(){returnJa};this.getClearAlpha=function(){returndb};this.clear=function(a,b,c){vard=0;if(void0===a||a)d|=l.COLOR_BUFFER_BIT;if(void0===b||b)d|=l.DEPTH_BUFFER_BIT;if(void0===c||c)d|=l.STENCIL_BUFFER_BIT;l.clear(d)};this.clearColor=function(){l.clear(l.COLOR_BUFFER_BIT)};this.clearDepth=function(){l.clear(l.DEPTH_BUFFER_BIT)};this.clearStencil=
l.MEDIUM_FLOAT);l.getShaderPrecisionFormat(l.FRAGMENT_SHADER,l.LOW_FLOAT);varLc=function(){vara;returnfunction(){if(void0!==a)returna;a=[];if(sa.get("WEBGL_compressed_texture_pvrtc")||sa.get("WEBGL_compressed_texture_s3tc"))for(varb=l.getParameter(l.COMPRESSED_TEXTURE_FORMATS),c=0;c<b.length;c++)a.push(b[c]);returna}}(),dd=0<$c.precision&&0<bd.precision,Tc=0<ad.precision&&0<cd.precision;"highp"!==W||dd||(Tc?(W="mediump",console.warn("THREE.WebGLRenderer: highp not supported, using mediump.")):
(W="lowp",console.warn("THREE.WebGLRenderer: highp and mediump not supported, using lowp.")));"mediump"!==W||Tc||(W="lowp",console.warn("THREE.WebGLRenderer: mediump not supported, using lowp."));this.getContext=function(){returnl};this.supportsVertexTextures=function(){returnkc};this.supportsFloatTextures=function(){returnsa.get("OES_texture_float")};this.supportsStandardDerivatives=function(){returnsa.get("OES_standard_derivatives")};this.supportsCompressedTextureS3TC=function(){returnsa.get("WEBGL_compressed_texture_s3tc")};
b){Ja.set(a);db=void0!==b?b:1;l.clearColor(Ja.r,Ja.g,Ja.b,db)};this.setClearColorHex=function(a,b){console.warn("THREE.WebGLRenderer: .setClearColorHex() is being removed. Use .setClearColor() instead.");this.setClearColor(a,b)};this.getClearColor=function(){returnJa};this.getClearAlpha=function(){returndb};this.clear=function(a,b,c){vard=0;if(void0===a||a)d|=l.COLOR_BUFFER_BIT;if(void0===b||b)d|=l.DEPTH_BUFFER_BIT;if(void0===c||c)d|=l.STENCIL_BUFFER_BIT;l.clear(d)};this.clearColor=function(){l.clear(l.COLOR_BUFFER_BIT)};