Browse Source

Updated builds.

Mr.doob 8 years ago
parent
commit
b6b72f001c
2 changed files with 158 additions and 37 deletions
  1. 136 15
      build/three.js
  2. 22 22
      build/three.min.js

+ 136 - 15
build/three.js

@@ -1284,7 +1284,7 @@
 	Object.assign( Texture.prototype, EventDispatcher.prototype );
 
 	var count = 0;
-	function TextureIdCount() { return count++; };
+	function TextureIdCount() { return count++; }
 
 	/**
 	 * @author supereggbert / http://www.paulbrunt.co.uk/
@@ -3314,7 +3314,7 @@
 			if ( typeof m === 'number' ) {
 
 				console.warn( 'THREE.Vector3: setFromMatrixColumn now expects ( matrix, index ).' );
-				var temp = m
+				var temp = m;
 				m = index;
 				index = temp;
 
@@ -4387,6 +4387,55 @@
 
 	} );
 
+	/**
+	 * @author tschw
+	 *
+	 * Uniforms of a program.
+	 * Those form a tree structure with a special top-level container for the root,
+	 * which you get by calling 'new WebGLUniforms( gl, program, renderer )'.
+	 *
+	 *
+	 * Properties of inner nodes including the top-level container:
+	 *
+	 * .seq - array of nested uniforms
+	 * .map - nested uniforms by name
+	 *
+	 *
+	 * Methods of all nodes except the top-level container:
+	 *
+	 * .setValue( gl, value, [renderer] )
+	 *
+	 * 		uploads a uniform value(s)
+	 *  	the 'renderer' parameter is needed for sampler uniforms
+	 *
+	 *
+	 * Static methods of the top-level container (renderer factorizations):
+	 *
+	 * .upload( gl, seq, values, renderer )
+	 *
+	 * 		sets uniforms in 'seq' to 'values[id].value'
+	 *
+	 * .seqWithValue( seq, values ) : filteredSeq
+	 *
+	 * 		filters 'seq' entries with corresponding entry in values
+	 *
+	 *
+	 * Methods of the top-level container (renderer factorizations):
+	 *
+	 * .setValue( gl, name, value )
+	 *
+	 * 		sets uniform with  name 'name' to 'value'
+	 *
+	 * .set( gl, obj, prop )
+	 *
+	 * 		sets uniform from object and property with same name than uniform
+	 *
+	 * .setOptional( gl, obj, prop )
+	 *
+	 * 		like .set for an optional property of the object
+	 *
+	 */
+
 	var emptyTexture = new Texture();
 	var emptyCubeTexture = new CubeTexture();
 
@@ -5314,6 +5363,8 @@
 			this.g = scalar;
 			this.b = scalar;
 
+			return this;
+
 		},
 
 		setHex: function ( hex ) {
@@ -7502,7 +7553,7 @@
 	Object.assign( Material.prototype, EventDispatcher.prototype );
 
 	var count$1 = 0;
-	function MaterialIdCount() { return count$1++; };
+	function MaterialIdCount() { return count$1++; }
 
 	/**
 	 * @author alteredq / http://alteredqualia.com/
@@ -9101,6 +9152,11 @@
 
 	};
 
+	/**
+	 * @author alteredq / http://alteredqualia.com/
+	 * @author mrdoob / http://mrdoob.com/
+	 */
+
 	function WebGLShadowMap( _renderer, _lights, _objects, capabilities ) {
 
 		var _gl = _renderer.context,
@@ -11177,7 +11233,7 @@
 	} );
 
 	var count$2 = 0;
-	function Object3DIdCount() { return count$2++; };
+	function Object3DIdCount() { return count$2++; }
 
 	/**
 	 * @author bhouston / http://clara.io
@@ -13367,7 +13423,7 @@
 	} );
 
 	var count$3 = 0;
-	function GeometryIdCount() { return count$3++; };
+	function GeometryIdCount() { return count$3++; }
 
 	/**
 	 * @author mrdoob / http://mrdoob.com/
@@ -15877,6 +15933,10 @@
 
 	}
 
+	/**
+	 * @author mrdoob / http://mrdoob.com/
+	 */
+
 	function WebGLLights() {
 
 		var lights = {};
@@ -16002,6 +16062,10 @@
 
 	}
 
+	/**
+	 * @author mrdoob / http://mrdoob.com/
+	 */
+
 	var programIdCount = 0;
 
 	function getEncodingComponents( encoding ) {
@@ -16659,6 +16723,10 @@
 
 	}
 
+	/**
+	 * @author mrdoob / http://mrdoob.com/
+	 */
+
 	function WebGLPrograms( renderer, capabilities ) {
 
 		var programs = [];
@@ -16945,6 +17013,10 @@
 
 	}
 
+	/**
+	 * @author mrdoob / http://mrdoob.com/
+	 */
+
 	function WebGLGeometries( gl, properties, info ) {
 
 		var geometries = {};
@@ -17087,6 +17159,10 @@
 
 	}
 
+	/**
+	 * @author mrdoob / http://mrdoob.com/
+	 */
+
 	function WebGLObjects( gl, properties, info ) {
 
 		var geometries = new WebGLGeometries( gl, properties, info );
@@ -17283,6 +17359,10 @@
 
 	}
 
+	/**
+	 * @author mrdoob / http://mrdoob.com/
+	 */
+
 	function WebGLTextures( _gl, extensions, state, properties, capabilities, paramThreeToGL, info ) {
 
 		var _infoMemory = info.memory;
@@ -18081,6 +18161,10 @@
 
 	}
 
+	/**
+	 * @author mrdoob / http://mrdoob.com/
+	 */
+
 	function WebGLState( gl, extensions, paramThreeToGL ) {
 
 		function ColorBuffer() {
@@ -19231,6 +19315,10 @@
 
 	}
 
+	/**
+	 * @author tschw
+	 */
+
 	function WebGLClipping() {
 
 		var scope = this,
@@ -30802,7 +30890,7 @@
 
 		}
 
-	}
+	};
 
 	function KeyframeTrackConstructor( name, times, values, interpolation ) {
 
@@ -34727,7 +34815,7 @@
 			return shapes;
 
 		}
-	}
+	};
 
 	/**
 	 * @author zz85 / http://www.lab4games.net/zz85/blog
@@ -35169,6 +35257,10 @@
 	CubeCamera.prototype = Object.create( Object3D.prototype );
 	CubeCamera.prototype.constructor = CubeCamera;
 
+	/**
+	 * @author mrdoob / http://mrdoob.com/
+	 */
+
 	function AudioListener() {
 
 		Object3D.call( this );
@@ -35272,6 +35364,11 @@
 
 	} );
 
+	/**
+	 * @author mrdoob / http://mrdoob.com/
+	 * @author Reece Aaron Lecrivain / http://reecenotes.com/
+	 */
+
 	function Audio( listener ) {
 
 		Object3D.call( this );
@@ -35557,6 +35654,10 @@
 
 	} );
 
+	/**
+	 * @author mrdoob / http://mrdoob.com/
+	 */
+
 	function PositionalAudio( listener ) {
 
 		Audio.call( this, listener );
@@ -36983,7 +37084,7 @@
 		this.zeroSlopeAtStart 	= true;		// for smooth interpolation w/o separate
 		this.zeroSlopeAtEnd		= true;		// clips for start, loop and end
 
-	};
+	}
 
 	AnimationAction.prototype = {
 
@@ -40447,6 +40548,22 @@
 
 	} )();
 
+	/**
+	 * @author WestLangley / http://github.com/WestLangley
+	 * @author zz85 / http://github.com/zz85
+	 * @author bhouston / http://clara.io
+	 *
+	 * Creates an arrow for visualizing directions
+	 *
+	 * Parameters:
+	 *  dir - Vector3
+	 *  origin - Vector3
+	 *  length - Number
+	 *  color - color in hex value
+	 *  headLength - Number
+	 *  headWidth - Number
+	 */
+
 	var lineGeometry = new BufferGeometry();
 	lineGeometry.addAttribute( 'position', new Float32Attribute( [ 0, 0, 0, 0, 1, 0 ], 3 ) );
 
@@ -40951,6 +41068,10 @@
 
 	};
 
+	/**
+	 * @author mrdoob / http://mrdoob.com/
+	 */
+
 	function Face4 ( a, b, c, d, normal, color, materialIndex ) {
 		console.warn( 'THREE.Face4 has been removed. A THREE.Face3 will be created instead.' );
 		return new Face3( a, b, c, normal, color, materialIndex );
@@ -41781,12 +41902,6 @@
 
 	}
 
-	Object.defineProperty( exports, 'AudioContext', {
-		get: function () {
-			return exports.getAudioContext();
-		}
-	});
-
 	exports.WebGLRenderTargetCube = WebGLRenderTargetCube;
 	exports.WebGLRenderTarget = WebGLRenderTarget;
 	exports.WebGLRenderer = WebGLRenderer;
@@ -42146,4 +42261,10 @@
 
 	Object.defineProperty(exports, '__esModule', { value: true });
 
-})));
+	Object.defineProperty( exports, 'AudioContext', {
+		get: function () {
+			return exports.getAudioContext();
+		}
+	});
+
+})));

+ 22 - 22
build/three.min.js

@@ -392,7 +392,7 @@ normal_frag:"uniform float opacity;\nvarying vec3 vNormal;\n#include <common>\n#
 points_frag:"uniform vec3 diffuse;\nuniform float opacity;\n#include <common>\n#include <packing>\n#include <color_pars_fragment>\n#include <map_particle_pars_fragment>\n#include <fog_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\nvoid main() {\n\t#include <clipping_planes_fragment>\n\tvec3 outgoingLight = vec3( 0.0 );\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <logdepthbuf_fragment>\n\t#include <map_particle_fragment>\n\t#include <color_fragment>\n\t#include <alphatest_fragment>\n\toutgoingLight = diffuseColor.rgb;\n\tgl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\t#include <premultiplied_alpha_fragment>\n\t#include <tonemapping_fragment>\n\t#include <encodings_fragment>\n\t#include <fog_fragment>\n}\n",
 points_vert:"uniform float size;\nuniform float scale;\n#include <common>\n#include <color_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\nvoid main() {\n\t#include <color_vertex>\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\t#ifdef USE_SIZEATTENUATION\n\t\tgl_PointSize = size * ( scale / - mvPosition.z );\n\t#else\n\t\tgl_PointSize = size;\n\t#endif\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n}\n",
 shadow_frag:"uniform float opacity;\n#include <common>\n#include <packing>\n#include <bsdfs>\n#include <lights_pars>\n#include <shadowmap_pars_fragment>\n#include <shadowmask_pars_fragment>\nvoid main() {\n\tgl_FragColor = vec4( 0.0, 0.0, 0.0, opacity * ( 1.0  - getShadowMask() ) );\n}\n",shadow_vert:"#include <shadowmap_pars_vertex>\nvoid main() {\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n}\n"};M.prototype={constructor:M,
-isColor:!0,r:1,g:1,b:1,set:function(a){a&&a.isColor?this.copy(a):"number"===typeof a?this.setHex(a):"string"===typeof a&&this.setStyle(a);return this},setScalar:function(a){this.b=this.g=this.r=a},setHex:function(a){a=Math.floor(a);this.r=(a>>16&255)/255;this.g=(a>>8&255)/255;this.b=(a&255)/255;return this},setRGB:function(a,b,c){this.r=a;this.g=b;this.b=c;return this},setHSL:function(){function a(a,c,d){0>d&&(d+=1);1<d&&--d;return d<1/6?a+6*(c-a)*d:.5>d?c:d<2/3?a+6*(c-a)*(2/3-d):a}return function(b,
+isColor:!0,r:1,g:1,b:1,set:function(a){a&&a.isColor?this.copy(a):"number"===typeof a?this.setHex(a):"string"===typeof a&&this.setStyle(a);return this},setScalar:function(a){this.b=this.g=this.r=a;return this},setHex:function(a){a=Math.floor(a);this.r=(a>>16&255)/255;this.g=(a>>8&255)/255;this.b=(a&255)/255;return this},setRGB:function(a,b,c){this.r=a;this.g=b;this.b=c;return this},setHSL:function(){function a(a,c,d){0>d&&(d+=1);1<d&&--d;return d<1/6?a+6*(c-a)*d:.5>d?c:d<2/3?a+6*(c-a)*(2/3-d):a}return function(b,
 c,d){b=k.Math.euclideanModulo(b,1);c=k.Math.clamp(c,0,1);d=k.Math.clamp(d,0,1);0===c?this.r=this.g=this.b=d:(c=.5>=d?d*(1+c):d+c-d*c,d=2*d-c,this.r=a(d,c,b+1/3),this.g=a(d,c,b),this.b=a(d,c,b-1/3));return this}}(),setStyle:function(a){function b(b){void 0!==b&&1>parseFloat(b)&&console.warn("THREE.Color: Alpha component of "+a+" will be ignored.")}var c;if(c=/^((?:rgb|hsl)a?)\(\s*([^\)]*)\)/.exec(a)){var d=c[2];switch(c[1]){case "rgb":case "rgba":if(c=/^(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(d))return this.r=
 Math.min(255,parseInt(c[1],10))/255,this.g=Math.min(255,parseInt(c[2],10))/255,this.b=Math.min(255,parseInt(c[3],10))/255,b(c[5]),this;if(c=/^(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(d))return this.r=Math.min(100,parseInt(c[1],10))/100,this.g=Math.min(100,parseInt(c[2],10))/100,this.b=Math.min(100,parseInt(c[3],10))/100,b(c[5]),this;break;case "hsl":case "hsla":if(c=/^([0-9]*\.?[0-9]+)\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(,\s*([0-9]*\.?[0-9]+)\s*)?$/.exec(d)){var d=parseFloat(c[1])/
 360,e=parseInt(c[2],10)/100,f=parseInt(c[3],10)/100;b(c[5]);return this.setHSL(d,e,f)}}}else if(c=/^\#([A-Fa-f0-9]+)$/.exec(a)){c=c[1];d=c.length;if(3===d)return this.r=parseInt(c.charAt(0)+c.charAt(0),16)/255,this.g=parseInt(c.charAt(1)+c.charAt(1),16)/255,this.b=parseInt(c.charAt(2)+c.charAt(2),16)/255,this;if(6===d)return this.r=parseInt(c.charAt(0)+c.charAt(1),16)/255,this.g=parseInt(c.charAt(2)+c.charAt(3),16)/255,this.b=parseInt(c.charAt(4)+c.charAt(5),16)/255,this}a&&0<a.length&&(c=k.ColorKeywords[a],
@@ -811,28 +811,28 @@ return this.texture.magFilter},set:function(a){console.warn("THREE.WebGLRenderTa
 return this.texture.anisotropy},set:function(a){console.warn("THREE.WebGLRenderTarget: .anisotropy is now .texture.anisotropy.");this.texture.anisotropy=a}},offset:{get:function(){console.warn("THREE.WebGLRenderTarget: .offset is now .texture.offset.");return this.texture.offset},set:function(a){console.warn("THREE.WebGLRenderTarget: .offset is now .texture.offset.");this.texture.offset=a}},repeat:{get:function(){console.warn("THREE.WebGLRenderTarget: .repeat is now .texture.repeat.");return this.texture.repeat},
 set:function(a){console.warn("THREE.WebGLRenderTarget: .repeat is now .texture.repeat.");this.texture.repeat=a}},format:{get:function(){console.warn("THREE.WebGLRenderTarget: .format is now .texture.format.");return this.texture.format},set:function(a){console.warn("THREE.WebGLRenderTarget: .format is now .texture.format.");this.texture.format=a}},type:{get:function(){console.warn("THREE.WebGLRenderTarget: .type is now .texture.type.");return this.texture.type},set:function(a){console.warn("THREE.WebGLRenderTarget: .type is now .texture.type.");
 this.texture.type=a}},generateMipmaps:{get:function(){console.warn("THREE.WebGLRenderTarget: .generateMipmaps is now .texture.generateMipmaps.");return this.texture.generateMipmaps},set:function(a){console.warn("THREE.WebGLRenderTarget: .generateMipmaps is now .texture.generateMipmaps.");this.texture.generateMipmaps=a}}});Object.assign(Vb.prototype,{load:function(a){console.warn("THREE.Audio: .load has been deprecated. Please use THREE.AudioLoader.");var b=this;(new Id).load(a,function(a){b.setBuffer(a)});
-return this}});Object.assign(Ld.prototype,{getData:function(a){console.warn("THREE.AudioAnalyser: .getData() is now .getFrequencyData().");return this.getFrequencyData()}});Object.defineProperty(k,"AudioContext",{get:function(){return k.getAudioContext()}});k.WebGLRenderTargetCube=zb;k.WebGLRenderTarget=yb;k.WebGLRenderer=xd;k.ShaderLib=Bb;k.UniformsLib=W;k.ShaderChunk=X;k.FogExp2=Db;k.Fog=Eb;k.Scene=eb;k.LensFlare=yd;k.Sprite=hc;k.LOD=ic;k.SkinnedMesh=Yc;k.Skeleton=Wc;k.Bone=Xc;k.Mesh=ua;k.LineSegments=
-ja;k.Line=Na;k.Points=Fb;k.Group=jc;k.VideoTexture=Zc;k.DataTexture=gb;k.CompressedTexture=Gb;k.CubeTexture=Ra;k.CanvasTexture=$c;k.DepthTexture=kc;k.TextureIdCount=function(){return Xd++};k.Texture=da;k.MaterialIdCount=function(){return ge++};k.CompressedTextureLoader=oe;k.BinaryTextureLoader=Ad;k.DataTextureLoader=Ad;k.CubeTextureLoader=Bd;k.TextureLoader=ad;k.ObjectLoader=pe;k.MaterialLoader=od;k.BufferGeometryLoader=Cd;k.LoadingManager=zd;k.JSONLoader=Dd;k.ImageLoader=Gc;k.FontLoader=qe;k.XHRLoader=
-wa;k.Loader=rb;k.AudioLoader=Id;k.SpotLightShadow=cd;k.SpotLight=dd;k.PointLight=ed;k.HemisphereLight=bd;k.DirectionalLightShadow=fd;k.DirectionalLight=gd;k.AmbientLight=hd;k.LightShadow=ob;k.Light=na;k.StereoCamera=re;k.PerspectiveCamera=Ca;k.OrthographicCamera=Cb;k.CubeCamera=pd;k.Camera=qa;k.AudioListener=Jd;k.PositionalAudio=Kd;k.getAudioContext=Gd;k.AudioAnalyser=Ld;k.Audio=Vb;k.VectorKeyframeTrack=Tb;k.StringKeyframeTrack=ld;k.QuaternionKeyframeTrack=Ic;k.NumberKeyframeTrack=Ub;k.ColorKeyframeTrack=
-nd;k.BooleanKeyframeTrack=md;k.PropertyMixer=qd;k.PropertyBinding=fa;k.KeyframeTrack=qb;k.AnimationObjectGroup=Md;k.AnimationMixer=Od;k.AnimationClip=ta;k.Uniform=se;k.InstancedBufferGeometry=wb;k.BufferGeometry=K;k.GeometryIdCount=function(){return Vc++};k.Geometry=P;k.InterleavedBufferAttribute=Pd;k.InstancedInterleavedBuffer=Xb;k.InterleavedBuffer=Wb;k.InstancedBufferAttribute=Yb;k.DynamicBufferAttribute=function(a,b){console.warn("THREE.DynamicBufferAttribute has been removed. Use new THREE.BufferAttribute().setDynamic( true ) instead.");
-return(new D(a,b)).setDynamic(!0)};k.Float64Attribute=function(a,b){return new D(new Float64Array(a),b)};k.Float32Attribute=ha;k.Uint32Attribute=Uc;k.Int32Attribute=function(a,b){return new D(new Int32Array(a),b)};k.Uint16Attribute=Tc;k.Int16Attribute=function(a,b){return new D(new Int16Array(a),b)};k.Uint8ClampedAttribute=function(a,b){return new D(new Uint8ClampedArray(a),b)};k.Uint8Attribute=function(a,b){return new D(new Uint8Array(a),b)};k.Int8Attribute=function(a,b){return new D(new Int8Array(a),
-b)};k.BufferAttribute=D;k.Face3=oa;k.Object3DIdCount=function(){return ie++};k.Object3D=y;k.Raycaster=Qd;k.Layers=Sc;k.EventDispatcher=pa;k.Clock=Sd;k.QuaternionLinearInterpolant=kd;k.LinearInterpolant=Hc;k.DiscreteInterpolant=jd;k.CubicInterpolant=id;k.Interpolant=ea;k.Triangle=Fa;k.Spline=function(a){function b(a,b,c,d,e,f,g){a=.5*(c-a);d=.5*(d-b);return(2*(b-c)+a+d)*g+(-3*(b-c)-2*a-d)*f+a*e+b}this.points=a;var c=[],d={x:0,y:0,z:0},e,f,g,h,k,p,y,m,n;this.initFromArray=function(a){this.points=[];
-for(var b=0;b<a.length;b++)this.points[b]={x:a[b][0],y:a[b][1],z:a[b][2]}};this.getPoint=function(a){e=(this.points.length-1)*a;f=Math.floor(e);g=e-f;c[0]=0===f?f:f-1;c[1]=f;c[2]=f>this.points.length-2?this.points.length-1:f+1;c[3]=f>this.points.length-3?this.points.length-1:f+2;p=this.points[c[0]];y=this.points[c[1]];m=this.points[c[2]];n=this.points[c[3]];h=g*g;k=g*h;d.x=b(p.x,y.x,m.x,n.x,g,h,k);d.y=b(p.y,y.y,m.y,n.y,g,h,k);d.z=b(p.z,y.z,m.z,n.z,g,h,k);return d};this.getControlPointsArray=function(){var a,
-b,c=this.points.length,d=[];for(a=0;a<c;a++)b=this.points[a],d[a]=[b.x,b.y,b.z];return d};this.getLength=function(a){var b,c,d,e=0,f=new q,g=new q,h=[],k=0;h[0]=0;a||(a=100);c=this.points.length*a;f.copy(this.points[0]);for(a=1;a<c;a++)b=a/c,d=this.getPoint(b),g.copy(d),k+=g.distanceTo(f),f.copy(d),b*=this.points.length-1,b=Math.floor(b),b!==e&&(h[b]=k,e=b);h[h.length]=k;return{chunks:h,total:k}};this.reparametrizeByArcLength=function(a){var b,c,d,e,f,g,h=[],k=new q,l=this.getLength();h.push(k.copy(this.points[0]).clone());
-for(b=1;b<this.points.length;b++){c=l.chunks[b]-l.chunks[b-1];g=Math.ceil(a*c/l.total);e=(b-1)/(this.points.length-1);f=b/(this.points.length-1);for(c=1;c<g-1;c++)d=e+1/g*c*(f-e),d=this.getPoint(d),h.push(k.copy(d).clone());h.push(k.copy(this.points[b]).clone())}this.points=h}};k.Spherical=Td;k.Plane=sa;k.Frustum=ec;k.Sphere=Aa;k.Ray=Va;k.Matrix4=H;k.Matrix3=ya;k.Box3=Ga;k.Box2=dc;k.Line3=bb;k.Euler=Wa;k.Vector4=ga;k.Vector3=q;k.Vector2=B;k.Quaternion=ca;k.Color=M;k.MorphBlendMesh=la;k.ImmediateRenderObject=
-Lc;k.VertexNormalsHelper=Mc;k.SpotLightHelper=Zb;k.SkeletonHelper=$b;k.PointLightHelper=ac;k.HemisphereLightHelper=bc;k.GridHelper=Nc;k.FaceNormalsHelper=Oc;k.DirectionalLightHelper=cc;k.CameraHelper=Pc;k.BoundingBoxHelper=Qc;k.BoxHelper=Rc;k.ArrowHelper=xb;k.AxisHelper=rd;k.ClosedSplineCurve3=we;k.SplineCurve3=vf;k.ArcCurve=sd;k.EllipseCurve=Oa;k.SplineCurve=sb;k.CubicBezierCurve=tb;k.QuadraticBezierCurve=ub;k.LineCurve=Ja;k.Shape=vb;k.ShapePath=Ed;k.Path=Kc;k.Font=Fd;k.CurvePath=Jc;k.Curve=aa;k.WireframeGeometry=
-Hb;k.ParametricGeometry=lc;k.ParametricBufferGeometry=Ib;k.TetrahedronGeometry=nc;k.TetrahedronBufferGeometry=mc;k.OctahedronGeometry=pc;k.OctahedronBufferGeometry=oc;k.IcosahedronGeometry=rc;k.IcosahedronBufferGeometry=qc;k.DodecahedronGeometry=tc;k.DodecahedronBufferGeometry=sc;k.PolyhedronGeometry=uc;k.PolyhedronBufferGeometry=ka;k.TubeGeometry=vc;k.TubeBufferGeometry=Jb;k.TorusKnotGeometry=wc;k.TorusKnotBufferGeometry=Kb;k.TorusGeometry=xc;k.TorusBufferGeometry=Lb;k.TextGeometry=yc;k.SphereBufferGeometry=
-hb;k.SphereGeometry=Mb;k.RingGeometry=zc;k.RingBufferGeometry=Nb;k.PlaneBufferGeometry=db;k.PlaneGeometry=Ac;k.LatheGeometry=Bc;k.LatheBufferGeometry=Ob;k.ShapeGeometry=Xa;k.ExtrudeGeometry=ra;k.EdgesGeometry=Pb;k.ConeGeometry=Cc;k.ConeBufferGeometry=Dc;k.CylinderGeometry=ib;k.CylinderBufferGeometry=Ya;k.CircleBufferGeometry=Qb;k.CircleGeometry=Ec;k.BoxBufferGeometry=cb;k.BoxGeometry=jb;k.ShadowMaterial=Rb;k.SpriteMaterial=fb;k.RawShaderMaterial=Sb;k.ShaderMaterial=Da;k.PointsMaterial=Ia;k.MultiMaterial=
-Fc;k.MeshPhysicalMaterial=kb;k.MeshStandardMaterial=va;k.MeshPhongMaterial=Za;k.MeshNormalMaterial=lb;k.MeshLambertMaterial=mb;k.MeshDepthMaterial=Ta;k.MeshBasicMaterial=Ha;k.LineDashedMaterial=nb;k.LineBasicMaterial=ma;k.Material=T;k.REVISION="82dev";k.MOUSE={LEFT:0,MIDDLE:1,RIGHT:2};k.CullFaceNone=0;k.CullFaceBack=1;k.CullFaceFront=2;k.CullFaceFrontBack=3;k.FrontFaceDirectionCW=0;k.FrontFaceDirectionCCW=1;k.BasicShadowMap=0;k.PCFShadowMap=1;k.PCFSoftShadowMap=2;k.FrontSide=0;k.BackSide=1;k.DoubleSide=
-2;k.FlatShading=1;k.SmoothShading=2;k.NoColors=0;k.FaceColors=1;k.VertexColors=2;k.NoBlending=0;k.NormalBlending=1;k.AdditiveBlending=2;k.SubtractiveBlending=3;k.MultiplyBlending=4;k.CustomBlending=5;k.BlendingMode=xe;k.AddEquation=100;k.SubtractEquation=101;k.ReverseSubtractEquation=102;k.MinEquation=103;k.MaxEquation=104;k.ZeroFactor=200;k.OneFactor=201;k.SrcColorFactor=202;k.OneMinusSrcColorFactor=203;k.SrcAlphaFactor=204;k.OneMinusSrcAlphaFactor=205;k.DstAlphaFactor=206;k.OneMinusDstAlphaFactor=
-207;k.DstColorFactor=208;k.OneMinusDstColorFactor=209;k.SrcAlphaSaturateFactor=210;k.NeverDepth=0;k.AlwaysDepth=1;k.LessDepth=2;k.LessEqualDepth=3;k.EqualDepth=4;k.GreaterEqualDepth=5;k.GreaterDepth=6;k.NotEqualDepth=7;k.MultiplyOperation=0;k.MixOperation=1;k.AddOperation=2;k.NoToneMapping=0;k.LinearToneMapping=1;k.ReinhardToneMapping=2;k.Uncharted2ToneMapping=3;k.CineonToneMapping=4;k.UVMapping=300;k.CubeReflectionMapping=301;k.CubeRefractionMapping=302;k.EquirectangularReflectionMapping=303;k.EquirectangularRefractionMapping=
-304;k.SphericalReflectionMapping=305;k.CubeUVReflectionMapping=306;k.CubeUVRefractionMapping=307;k.TextureMapping=ye;k.RepeatWrapping=1E3;k.ClampToEdgeWrapping=1001;k.MirroredRepeatWrapping=1002;k.TextureWrapping=Ud;k.NearestFilter=1003;k.NearestMipMapNearestFilter=1004;k.NearestMipMapLinearFilter=1005;k.LinearFilter=1006;k.LinearMipMapNearestFilter=1007;k.LinearMipMapLinearFilter=1008;k.TextureFilter=Vd;k.UnsignedByteType=1009;k.ByteType=1010;k.ShortType=1011;k.UnsignedShortType=1012;k.IntType=1013;
-k.UnsignedIntType=1014;k.FloatType=1015;k.HalfFloatType=1016;k.UnsignedShort4444Type=1017;k.UnsignedShort5551Type=1018;k.UnsignedShort565Type=1019;k.UnsignedInt248Type=1020;k.AlphaFormat=1021;k.RGBFormat=1022;k.RGBAFormat=1023;k.LuminanceFormat=1024;k.LuminanceAlphaFormat=1025;k.RGBEFormat=1023;k.DepthFormat=1026;k.DepthStencilFormat=1027;k.RGB_S3TC_DXT1_Format=2001;k.RGBA_S3TC_DXT1_Format=2002;k.RGBA_S3TC_DXT3_Format=2003;k.RGBA_S3TC_DXT5_Format=2004;k.RGB_PVRTC_4BPPV1_Format=2100;k.RGB_PVRTC_2BPPV1_Format=
-2101;k.RGBA_PVRTC_4BPPV1_Format=2102;k.RGBA_PVRTC_2BPPV1_Format=2103;k.RGB_ETC1_Format=2151;k.LoopOnce=2200;k.LoopRepeat=2201;k.LoopPingPong=2202;k.InterpolateDiscrete=2300;k.InterpolateLinear=2301;k.InterpolateSmooth=2302;k.ZeroCurvatureEnding=2400;k.ZeroSlopeEnding=2401;k.WrapAroundEnding=2402;k.TrianglesDrawMode=0;k.TriangleStripDrawMode=1;k.TriangleFanDrawMode=2;k.LinearEncoding=3E3;k.sRGBEncoding=3001;k.GammaEncoding=3007;k.RGBEEncoding=3002;k.LogLuvEncoding=3003;k.RGBM7Encoding=3004;k.RGBM16Encoding=
-3005;k.RGBDEncoding=3006;k.BasicDepthPacking=3200;k.RGBADepthPacking=3201;k.CubeGeometry=jb;k.Face4=function(a,b,c,d,e,f,g){console.warn("THREE.Face4 has been removed. A THREE.Face3 will be created instead.");return new oa(a,b,c,e,f,g)};k.LineStrip=0;k.LinePieces=1;k.MeshFaceMaterial=Fc;k.PointCloud=function(a,b){console.warn("THREE.PointCloud has been renamed to THREE.Points.");return new Fb(a,b)};k.Particle=hc;k.ParticleSystem=function(a,b){console.warn("THREE.ParticleSystem has been renamed to THREE.Points.");
-return new Fb(a,b)};k.PointCloudMaterial=function(a){console.warn("THREE.PointCloudMaterial has been renamed to THREE.PointsMaterial.");return new Ia(a)};k.ParticleBasicMaterial=function(a){console.warn("THREE.ParticleBasicMaterial has been renamed to THREE.PointsMaterial.");return new Ia(a)};k.ParticleSystemMaterial=function(a){console.warn("THREE.ParticleSystemMaterial has been renamed to THREE.PointsMaterial.");return new Ia(a)};k.Vertex=function(a,b,c){console.warn("THREE.Vertex has been removed. Use THREE.Vector3 instead.");
+return this}});Object.assign(Ld.prototype,{getData:function(a){console.warn("THREE.AudioAnalyser: .getData() is now .getFrequencyData().");return this.getFrequencyData()}});k.WebGLRenderTargetCube=zb;k.WebGLRenderTarget=yb;k.WebGLRenderer=xd;k.ShaderLib=Bb;k.UniformsLib=W;k.ShaderChunk=X;k.FogExp2=Db;k.Fog=Eb;k.Scene=eb;k.LensFlare=yd;k.Sprite=hc;k.LOD=ic;k.SkinnedMesh=Yc;k.Skeleton=Wc;k.Bone=Xc;k.Mesh=ua;k.LineSegments=ja;k.Line=Na;k.Points=Fb;k.Group=jc;k.VideoTexture=Zc;k.DataTexture=gb;k.CompressedTexture=
+Gb;k.CubeTexture=Ra;k.CanvasTexture=$c;k.DepthTexture=kc;k.TextureIdCount=function(){return Xd++};k.Texture=da;k.MaterialIdCount=function(){return ge++};k.CompressedTextureLoader=oe;k.BinaryTextureLoader=Ad;k.DataTextureLoader=Ad;k.CubeTextureLoader=Bd;k.TextureLoader=ad;k.ObjectLoader=pe;k.MaterialLoader=od;k.BufferGeometryLoader=Cd;k.LoadingManager=zd;k.JSONLoader=Dd;k.ImageLoader=Gc;k.FontLoader=qe;k.XHRLoader=wa;k.Loader=rb;k.AudioLoader=Id;k.SpotLightShadow=cd;k.SpotLight=dd;k.PointLight=ed;
+k.HemisphereLight=bd;k.DirectionalLightShadow=fd;k.DirectionalLight=gd;k.AmbientLight=hd;k.LightShadow=ob;k.Light=na;k.StereoCamera=re;k.PerspectiveCamera=Ca;k.OrthographicCamera=Cb;k.CubeCamera=pd;k.Camera=qa;k.AudioListener=Jd;k.PositionalAudio=Kd;k.getAudioContext=Gd;k.AudioAnalyser=Ld;k.Audio=Vb;k.VectorKeyframeTrack=Tb;k.StringKeyframeTrack=ld;k.QuaternionKeyframeTrack=Ic;k.NumberKeyframeTrack=Ub;k.ColorKeyframeTrack=nd;k.BooleanKeyframeTrack=md;k.PropertyMixer=qd;k.PropertyBinding=fa;k.KeyframeTrack=
+qb;k.AnimationObjectGroup=Md;k.AnimationMixer=Od;k.AnimationClip=ta;k.Uniform=se;k.InstancedBufferGeometry=wb;k.BufferGeometry=K;k.GeometryIdCount=function(){return Vc++};k.Geometry=P;k.InterleavedBufferAttribute=Pd;k.InstancedInterleavedBuffer=Xb;k.InterleavedBuffer=Wb;k.InstancedBufferAttribute=Yb;k.DynamicBufferAttribute=function(a,b){console.warn("THREE.DynamicBufferAttribute has been removed. Use new THREE.BufferAttribute().setDynamic( true ) instead.");return(new D(a,b)).setDynamic(!0)};k.Float64Attribute=
+function(a,b){return new D(new Float64Array(a),b)};k.Float32Attribute=ha;k.Uint32Attribute=Uc;k.Int32Attribute=function(a,b){return new D(new Int32Array(a),b)};k.Uint16Attribute=Tc;k.Int16Attribute=function(a,b){return new D(new Int16Array(a),b)};k.Uint8ClampedAttribute=function(a,b){return new D(new Uint8ClampedArray(a),b)};k.Uint8Attribute=function(a,b){return new D(new Uint8Array(a),b)};k.Int8Attribute=function(a,b){return new D(new Int8Array(a),b)};k.BufferAttribute=D;k.Face3=oa;k.Object3DIdCount=
+function(){return ie++};k.Object3D=y;k.Raycaster=Qd;k.Layers=Sc;k.EventDispatcher=pa;k.Clock=Sd;k.QuaternionLinearInterpolant=kd;k.LinearInterpolant=Hc;k.DiscreteInterpolant=jd;k.CubicInterpolant=id;k.Interpolant=ea;k.Triangle=Fa;k.Spline=function(a){function b(a,b,c,d,e,f,g){a=.5*(c-a);d=.5*(d-b);return(2*(b-c)+a+d)*g+(-3*(b-c)-2*a-d)*f+a*e+b}this.points=a;var c=[],d={x:0,y:0,z:0},e,f,g,h,k,p,y,m,n;this.initFromArray=function(a){this.points=[];for(var b=0;b<a.length;b++)this.points[b]={x:a[b][0],
+y:a[b][1],z:a[b][2]}};this.getPoint=function(a){e=(this.points.length-1)*a;f=Math.floor(e);g=e-f;c[0]=0===f?f:f-1;c[1]=f;c[2]=f>this.points.length-2?this.points.length-1:f+1;c[3]=f>this.points.length-3?this.points.length-1:f+2;p=this.points[c[0]];y=this.points[c[1]];m=this.points[c[2]];n=this.points[c[3]];h=g*g;k=g*h;d.x=b(p.x,y.x,m.x,n.x,g,h,k);d.y=b(p.y,y.y,m.y,n.y,g,h,k);d.z=b(p.z,y.z,m.z,n.z,g,h,k);return d};this.getControlPointsArray=function(){var a,b,c=this.points.length,d=[];for(a=0;a<c;a++)b=
+this.points[a],d[a]=[b.x,b.y,b.z];return d};this.getLength=function(a){var b,c,d,e=0,f=new q,g=new q,h=[],k=0;h[0]=0;a||(a=100);c=this.points.length*a;f.copy(this.points[0]);for(a=1;a<c;a++)b=a/c,d=this.getPoint(b),g.copy(d),k+=g.distanceTo(f),f.copy(d),b*=this.points.length-1,b=Math.floor(b),b!==e&&(h[b]=k,e=b);h[h.length]=k;return{chunks:h,total:k}};this.reparametrizeByArcLength=function(a){var b,c,d,e,f,g,h=[],k=new q,l=this.getLength();h.push(k.copy(this.points[0]).clone());for(b=1;b<this.points.length;b++){c=
+l.chunks[b]-l.chunks[b-1];g=Math.ceil(a*c/l.total);e=(b-1)/(this.points.length-1);f=b/(this.points.length-1);for(c=1;c<g-1;c++)d=e+1/g*c*(f-e),d=this.getPoint(d),h.push(k.copy(d).clone());h.push(k.copy(this.points[b]).clone())}this.points=h}};k.Spherical=Td;k.Plane=sa;k.Frustum=ec;k.Sphere=Aa;k.Ray=Va;k.Matrix4=H;k.Matrix3=ya;k.Box3=Ga;k.Box2=dc;k.Line3=bb;k.Euler=Wa;k.Vector4=ga;k.Vector3=q;k.Vector2=B;k.Quaternion=ca;k.Color=M;k.MorphBlendMesh=la;k.ImmediateRenderObject=Lc;k.VertexNormalsHelper=
+Mc;k.SpotLightHelper=Zb;k.SkeletonHelper=$b;k.PointLightHelper=ac;k.HemisphereLightHelper=bc;k.GridHelper=Nc;k.FaceNormalsHelper=Oc;k.DirectionalLightHelper=cc;k.CameraHelper=Pc;k.BoundingBoxHelper=Qc;k.BoxHelper=Rc;k.ArrowHelper=xb;k.AxisHelper=rd;k.ClosedSplineCurve3=we;k.SplineCurve3=vf;k.ArcCurve=sd;k.EllipseCurve=Oa;k.SplineCurve=sb;k.CubicBezierCurve=tb;k.QuadraticBezierCurve=ub;k.LineCurve=Ja;k.Shape=vb;k.ShapePath=Ed;k.Path=Kc;k.Font=Fd;k.CurvePath=Jc;k.Curve=aa;k.WireframeGeometry=Hb;k.ParametricGeometry=
+lc;k.ParametricBufferGeometry=Ib;k.TetrahedronGeometry=nc;k.TetrahedronBufferGeometry=mc;k.OctahedronGeometry=pc;k.OctahedronBufferGeometry=oc;k.IcosahedronGeometry=rc;k.IcosahedronBufferGeometry=qc;k.DodecahedronGeometry=tc;k.DodecahedronBufferGeometry=sc;k.PolyhedronGeometry=uc;k.PolyhedronBufferGeometry=ka;k.TubeGeometry=vc;k.TubeBufferGeometry=Jb;k.TorusKnotGeometry=wc;k.TorusKnotBufferGeometry=Kb;k.TorusGeometry=xc;k.TorusBufferGeometry=Lb;k.TextGeometry=yc;k.SphereBufferGeometry=hb;k.SphereGeometry=
+Mb;k.RingGeometry=zc;k.RingBufferGeometry=Nb;k.PlaneBufferGeometry=db;k.PlaneGeometry=Ac;k.LatheGeometry=Bc;k.LatheBufferGeometry=Ob;k.ShapeGeometry=Xa;k.ExtrudeGeometry=ra;k.EdgesGeometry=Pb;k.ConeGeometry=Cc;k.ConeBufferGeometry=Dc;k.CylinderGeometry=ib;k.CylinderBufferGeometry=Ya;k.CircleBufferGeometry=Qb;k.CircleGeometry=Ec;k.BoxBufferGeometry=cb;k.BoxGeometry=jb;k.ShadowMaterial=Rb;k.SpriteMaterial=fb;k.RawShaderMaterial=Sb;k.ShaderMaterial=Da;k.PointsMaterial=Ia;k.MultiMaterial=Fc;k.MeshPhysicalMaterial=
+kb;k.MeshStandardMaterial=va;k.MeshPhongMaterial=Za;k.MeshNormalMaterial=lb;k.MeshLambertMaterial=mb;k.MeshDepthMaterial=Ta;k.MeshBasicMaterial=Ha;k.LineDashedMaterial=nb;k.LineBasicMaterial=ma;k.Material=T;k.REVISION="82dev";k.MOUSE={LEFT:0,MIDDLE:1,RIGHT:2};k.CullFaceNone=0;k.CullFaceBack=1;k.CullFaceFront=2;k.CullFaceFrontBack=3;k.FrontFaceDirectionCW=0;k.FrontFaceDirectionCCW=1;k.BasicShadowMap=0;k.PCFShadowMap=1;k.PCFSoftShadowMap=2;k.FrontSide=0;k.BackSide=1;k.DoubleSide=2;k.FlatShading=1;k.SmoothShading=
+2;k.NoColors=0;k.FaceColors=1;k.VertexColors=2;k.NoBlending=0;k.NormalBlending=1;k.AdditiveBlending=2;k.SubtractiveBlending=3;k.MultiplyBlending=4;k.CustomBlending=5;k.BlendingMode=xe;k.AddEquation=100;k.SubtractEquation=101;k.ReverseSubtractEquation=102;k.MinEquation=103;k.MaxEquation=104;k.ZeroFactor=200;k.OneFactor=201;k.SrcColorFactor=202;k.OneMinusSrcColorFactor=203;k.SrcAlphaFactor=204;k.OneMinusSrcAlphaFactor=205;k.DstAlphaFactor=206;k.OneMinusDstAlphaFactor=207;k.DstColorFactor=208;k.OneMinusDstColorFactor=
+209;k.SrcAlphaSaturateFactor=210;k.NeverDepth=0;k.AlwaysDepth=1;k.LessDepth=2;k.LessEqualDepth=3;k.EqualDepth=4;k.GreaterEqualDepth=5;k.GreaterDepth=6;k.NotEqualDepth=7;k.MultiplyOperation=0;k.MixOperation=1;k.AddOperation=2;k.NoToneMapping=0;k.LinearToneMapping=1;k.ReinhardToneMapping=2;k.Uncharted2ToneMapping=3;k.CineonToneMapping=4;k.UVMapping=300;k.CubeReflectionMapping=301;k.CubeRefractionMapping=302;k.EquirectangularReflectionMapping=303;k.EquirectangularRefractionMapping=304;k.SphericalReflectionMapping=
+305;k.CubeUVReflectionMapping=306;k.CubeUVRefractionMapping=307;k.TextureMapping=ye;k.RepeatWrapping=1E3;k.ClampToEdgeWrapping=1001;k.MirroredRepeatWrapping=1002;k.TextureWrapping=Ud;k.NearestFilter=1003;k.NearestMipMapNearestFilter=1004;k.NearestMipMapLinearFilter=1005;k.LinearFilter=1006;k.LinearMipMapNearestFilter=1007;k.LinearMipMapLinearFilter=1008;k.TextureFilter=Vd;k.UnsignedByteType=1009;k.ByteType=1010;k.ShortType=1011;k.UnsignedShortType=1012;k.IntType=1013;k.UnsignedIntType=1014;k.FloatType=
+1015;k.HalfFloatType=1016;k.UnsignedShort4444Type=1017;k.UnsignedShort5551Type=1018;k.UnsignedShort565Type=1019;k.UnsignedInt248Type=1020;k.AlphaFormat=1021;k.RGBFormat=1022;k.RGBAFormat=1023;k.LuminanceFormat=1024;k.LuminanceAlphaFormat=1025;k.RGBEFormat=1023;k.DepthFormat=1026;k.DepthStencilFormat=1027;k.RGB_S3TC_DXT1_Format=2001;k.RGBA_S3TC_DXT1_Format=2002;k.RGBA_S3TC_DXT3_Format=2003;k.RGBA_S3TC_DXT5_Format=2004;k.RGB_PVRTC_4BPPV1_Format=2100;k.RGB_PVRTC_2BPPV1_Format=2101;k.RGBA_PVRTC_4BPPV1_Format=
+2102;k.RGBA_PVRTC_2BPPV1_Format=2103;k.RGB_ETC1_Format=2151;k.LoopOnce=2200;k.LoopRepeat=2201;k.LoopPingPong=2202;k.InterpolateDiscrete=2300;k.InterpolateLinear=2301;k.InterpolateSmooth=2302;k.ZeroCurvatureEnding=2400;k.ZeroSlopeEnding=2401;k.WrapAroundEnding=2402;k.TrianglesDrawMode=0;k.TriangleStripDrawMode=1;k.TriangleFanDrawMode=2;k.LinearEncoding=3E3;k.sRGBEncoding=3001;k.GammaEncoding=3007;k.RGBEEncoding=3002;k.LogLuvEncoding=3003;k.RGBM7Encoding=3004;k.RGBM16Encoding=3005;k.RGBDEncoding=3006;
+k.BasicDepthPacking=3200;k.RGBADepthPacking=3201;k.CubeGeometry=jb;k.Face4=function(a,b,c,d,e,f,g){console.warn("THREE.Face4 has been removed. A THREE.Face3 will be created instead.");return new oa(a,b,c,e,f,g)};k.LineStrip=0;k.LinePieces=1;k.MeshFaceMaterial=Fc;k.PointCloud=function(a,b){console.warn("THREE.PointCloud has been renamed to THREE.Points.");return new Fb(a,b)};k.Particle=hc;k.ParticleSystem=function(a,b){console.warn("THREE.ParticleSystem has been renamed to THREE.Points.");return new Fb(a,
+b)};k.PointCloudMaterial=function(a){console.warn("THREE.PointCloudMaterial has been renamed to THREE.PointsMaterial.");return new Ia(a)};k.ParticleBasicMaterial=function(a){console.warn("THREE.ParticleBasicMaterial has been renamed to THREE.PointsMaterial.");return new Ia(a)};k.ParticleSystemMaterial=function(a){console.warn("THREE.ParticleSystemMaterial has been renamed to THREE.PointsMaterial.");return new Ia(a)};k.Vertex=function(a,b,c){console.warn("THREE.Vertex has been removed. Use THREE.Vector3 instead.");
 return new q(a,b,c)};k.EdgesHelper=function(a,b){console.warn("THREE.EdgesHelper has been removed. Use THREE.EdgesGeometry instead.");return new ja(new Pb(a.geometry),new ma({color:void 0!==b?b:16777215}))};k.WireframeHelper=function(a,b){console.warn("THREE.WireframeHelper has been removed. Use THREE.WireframeGeometry instead.");return new ja(new Hb(a.geometry),new ma({color:void 0!==b?b:16777215}))};k.GeometryUtils={merge:function(a,b,c){console.warn("THREE.GeometryUtils: .merge() has been moved to Geometry. Use geometry.merge( geometry2, matrix, materialIndexOffset ) instead.");
 var d;b.isMesh&&(b.matrixAutoUpdate&&b.updateMatrix(),d=b.matrix,b=b.geometry);a.merge(b,d,c)},center:function(a){console.warn("THREE.GeometryUtils: .center() has been moved to Geometry. Use geometry.center() instead.");return a.center()}};k.ImageUtils={crossOrigin:void 0,loadTexture:function(a,b,c,d){console.warn("THREE.ImageUtils.loadTexture has been deprecated. Use THREE.TextureLoader() instead.");var e=new ad;e.setCrossOrigin(this.crossOrigin);a=e.load(a,c,void 0,d);b&&(a.mapping=b);return a},
 loadTextureCube:function(a,b,c,d){console.warn("THREE.ImageUtils.loadTextureCube has been deprecated. Use THREE.CubeTextureLoader() instead.");var e=new Bd;e.setCrossOrigin(this.crossOrigin);a=e.load(a,c,void 0,d);b&&(a.mapping=b);return a},loadCompressedTexture:function(){console.error("THREE.ImageUtils.loadCompressedTexture has been removed. Use THREE.DDSLoader instead.")},loadCompressedTextureCube:function(){console.error("THREE.ImageUtils.loadCompressedTextureCube has been removed. Use THREE.DDSLoader instead.")}};
 k.Projector=function(){console.error("THREE.Projector has been moved to /examples/js/renderers/Projector.js.");this.projectVector=function(a,b){console.warn("THREE.Projector: .projectVector() is now vector.project().");a.project(b)};this.unprojectVector=function(a,b){console.warn("THREE.Projector: .unprojectVector() is now vector.unproject().");a.unproject(b)};this.pickingRay=function(a,b){console.error("THREE.Projector: .pickingRay() is now raycaster.setFromCamera().")}};k.CanvasRenderer=function(){console.error("THREE.CanvasRenderer has been moved to /examples/js/renderers/CanvasRenderer.js");
-this.domElement=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");this.clear=function(){};this.render=function(){};this.setClearColor=function(){};this.setSize=function(){}};Object.defineProperty(k,"__esModule",{value:!0})});
+this.domElement=document.createElementNS("http://www.w3.org/1999/xhtml","canvas");this.clear=function(){};this.render=function(){};this.setClearColor=function(){};this.setSize=function(){}};Object.defineProperty(k,"__esModule",{value:!0});Object.defineProperty(k,"AudioContext",{get:function(){return k.getAudioContext()}})});