Browse Source

Updated builds.

Mr.doob 6 years ago
parent
commit
24c519bbc2
3 changed files with 11 additions and 9 deletions
  1. 2 1
      build/three.js
  2. 7 7
      build/three.min.js
  3. 2 1
      build/three.module.js

+ 2 - 1
build/three.js

@@ -185,7 +185,7 @@
 
 
 	} );
 	} );
 
 
-	var REVISION = '104';
+	var REVISION = '105dev';
 	var MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 };
 	var MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 };
 	var CullFaceNone = 0;
 	var CullFaceNone = 0;
 	var CullFaceBack = 1;
 	var CullFaceBack = 1;
@@ -41269,6 +41269,7 @@
 		Audio.call( this, listener );
 		Audio.call( this, listener );
 
 
 		this.panner = this.context.createPanner();
 		this.panner = this.context.createPanner();
+		this.panner.panningModel = 'HRTF';
 		this.panner.connect( this.gain );
 		this.panner.connect( this.gain );
 
 
 	}
 	}

+ 7 - 7
build/three.min.js

@@ -182,7 +182,7 @@ q.displacementBias.value=c.displacementBias)):c.isLineBasicMaterial?(q.diffuse.v
 b.envMap,a.flipEnvMap.value=b.envMap.isCubeTexture?-1:1,a.reflectivity.value=b.reflectivity,a.refractionRatio.value=b.refractionRatio,a.maxMipLevel.value=Ba.get(b.envMap).__maxMipLevel);b.lightMap&&(a.lightMap.value=b.lightMap,a.lightMapIntensity.value=b.lightMapIntensity);b.aoMap&&(a.aoMap.value=b.aoMap,a.aoMapIntensity.value=b.aoMapIntensity);if(b.map)var c=b.map;else b.specularMap?c=b.specularMap:b.displacementMap?c=b.displacementMap:b.normalMap?c=b.normalMap:b.bumpMap?c=b.bumpMap:b.roughnessMap?
 b.envMap,a.flipEnvMap.value=b.envMap.isCubeTexture?-1:1,a.reflectivity.value=b.reflectivity,a.refractionRatio.value=b.refractionRatio,a.maxMipLevel.value=Ba.get(b.envMap).__maxMipLevel);b.lightMap&&(a.lightMap.value=b.lightMap,a.lightMapIntensity.value=b.lightMapIntensity);b.aoMap&&(a.aoMap.value=b.aoMap,a.aoMapIntensity.value=b.aoMapIntensity);if(b.map)var c=b.map;else b.specularMap?c=b.specularMap:b.displacementMap?c=b.displacementMap:b.normalMap?c=b.normalMap:b.bumpMap?c=b.bumpMap:b.roughnessMap?
 c=b.roughnessMap:b.metalnessMap?c=b.metalnessMap:b.alphaMap?c=b.alphaMap:b.emissiveMap&&(c=b.emissiveMap);void 0!==c&&(c.isWebGLRenderTarget&&(c=c.texture),!0===c.matrixAutoUpdate&&c.updateMatrix(),a.uvTransform.value.copy(c.matrix))}function r(a,b){a.specular.value.copy(b.specular);a.shininess.value=Math.max(b.shininess,1E-4);b.emissiveMap&&(a.emissiveMap.value=b.emissiveMap);b.bumpMap&&(a.bumpMap.value=b.bumpMap,a.bumpScale.value=b.bumpScale,1===b.side&&(a.bumpScale.value*=-1));b.normalMap&&(a.normalMap.value=
 c=b.roughnessMap:b.metalnessMap?c=b.metalnessMap:b.alphaMap?c=b.alphaMap:b.emissiveMap&&(c=b.emissiveMap);void 0!==c&&(c.isWebGLRenderTarget&&(c=c.texture),!0===c.matrixAutoUpdate&&c.updateMatrix(),a.uvTransform.value.copy(c.matrix))}function r(a,b){a.specular.value.copy(b.specular);a.shininess.value=Math.max(b.shininess,1E-4);b.emissiveMap&&(a.emissiveMap.value=b.emissiveMap);b.bumpMap&&(a.bumpMap.value=b.bumpMap,a.bumpScale.value=b.bumpScale,1===b.side&&(a.bumpScale.value*=-1));b.normalMap&&(a.normalMap.value=
 b.normalMap,a.normalScale.value.copy(b.normalScale),1===b.side&&a.normalScale.value.negate());b.displacementMap&&(a.displacementMap.value=b.displacementMap,a.displacementScale.value=b.displacementScale,a.displacementBias.value=b.displacementBias)}function u(a,b){a.roughness.value=b.roughness;a.metalness.value=b.metalness;b.roughnessMap&&(a.roughnessMap.value=b.roughnessMap);b.metalnessMap&&(a.metalnessMap.value=b.metalnessMap);b.emissiveMap&&(a.emissiveMap.value=b.emissiveMap);b.bumpMap&&(a.bumpMap.value=
 b.normalMap,a.normalScale.value.copy(b.normalScale),1===b.side&&a.normalScale.value.negate());b.displacementMap&&(a.displacementMap.value=b.displacementMap,a.displacementScale.value=b.displacementScale,a.displacementBias.value=b.displacementBias)}function u(a,b){a.roughness.value=b.roughness;a.metalness.value=b.metalness;b.roughnessMap&&(a.roughnessMap.value=b.roughnessMap);b.metalnessMap&&(a.metalnessMap.value=b.metalnessMap);b.emissiveMap&&(a.emissiveMap.value=b.emissiveMap);b.bumpMap&&(a.bumpMap.value=
-b.bumpMap,a.bumpScale.value=b.bumpScale,1===b.side&&(a.bumpScale.value*=-1));b.normalMap&&(a.normalMap.value=b.normalMap,a.normalScale.value.copy(b.normalScale),1===b.side&&a.normalScale.value.negate());b.displacementMap&&(a.displacementMap.value=b.displacementMap,a.displacementScale.value=b.displacementScale,a.displacementBias.value=b.displacementBias);b.envMap&&(a.envMapIntensity.value=b.envMapIntensity)}console.log("THREE.WebGLRenderer","104");a=a||{};var w=void 0!==a.canvas?a.canvas:document.createElementNS("http://www.w3.org/1999/xhtml",
+b.bumpMap,a.bumpScale.value=b.bumpScale,1===b.side&&(a.bumpScale.value*=-1));b.normalMap&&(a.normalMap.value=b.normalMap,a.normalScale.value.copy(b.normalScale),1===b.side&&a.normalScale.value.negate());b.displacementMap&&(a.displacementMap.value=b.displacementMap,a.displacementScale.value=b.displacementScale,a.displacementBias.value=b.displacementBias);b.envMap&&(a.envMapIntensity.value=b.envMapIntensity)}console.log("THREE.WebGLRenderer","105dev");a=a||{};var w=void 0!==a.canvas?a.canvas:document.createElementNS("http://www.w3.org/1999/xhtml",
 "canvas"),z=void 0!==a.context?a.context:null,x=void 0!==a.alpha?a.alpha:!1,y=void 0!==a.depth?a.depth:!0,F=void 0!==a.stencil?a.stencil:!0,G=void 0!==a.antialias?a.antialias:!1,ua=void 0!==a.premultipliedAlpha?a.premultipliedAlpha:!0,E=void 0!==a.preserveDrawingBuffer?a.preserveDrawingBuffer:!1,I=void 0!==a.powerPreference?a.powerPreference:"default",D=null,B=null;this.domElement=w;this.context=null;this.debug={checkShaderErrors:!1};this.sortObjects=this.autoClearStencil=this.autoClearDepth=this.autoClearColor=
 "canvas"),z=void 0!==a.context?a.context:null,x=void 0!==a.alpha?a.alpha:!1,y=void 0!==a.depth?a.depth:!0,F=void 0!==a.stencil?a.stencil:!0,G=void 0!==a.antialias?a.antialias:!1,ua=void 0!==a.premultipliedAlpha?a.premultipliedAlpha:!0,E=void 0!==a.preserveDrawingBuffer?a.preserveDrawingBuffer:!1,I=void 0!==a.powerPreference?a.powerPreference:"default",D=null,B=null;this.domElement=w;this.context=null;this.debug={checkShaderErrors:!1};this.sortObjects=this.autoClearStencil=this.autoClearDepth=this.autoClearColor=
 this.autoClear=!0;this.clippingPlanes=[];this.localClippingEnabled=!1;this.gammaFactor=2;this.physicallyCorrectLights=this.gammaOutput=this.gammaInput=!1;this.toneMappingWhitePoint=this.toneMappingExposure=this.toneMapping=1;this.maxMorphTargets=8;this.maxMorphNormals=4;var A=this,M=!1,K=null,Q=null,ha=null,S=-1;var H=b=null;var xb=!1;var bb=null,R=null,U=new W,Y=new W,V=null,T=w.width,Wa=w.height,X=1,L=new W(0,0,T,Wa),Z=new W(0,0,T,Wa),ca=!1,ma=new yd,Ha=new gg,na=!1,fa=!1,Ic=new P,lb=new n;try{x=
 this.autoClear=!0;this.clippingPlanes=[];this.localClippingEnabled=!1;this.gammaFactor=2;this.physicallyCorrectLights=this.gammaOutput=this.gammaInput=!1;this.toneMappingWhitePoint=this.toneMappingExposure=this.toneMapping=1;this.maxMorphTargets=8;this.maxMorphNormals=4;var A=this,M=!1,K=null,Q=null,ha=null,S=-1;var H=b=null;var xb=!1;var bb=null,R=null,U=new W,Y=new W,V=null,T=w.width,Wa=w.height,X=1,L=new W(0,0,T,Wa),Z=new W(0,0,T,Wa),ca=!1,ma=new yd,Ha=new gg,na=!1,fa=!1,Ic=new P,lb=new n;try{x=
 {alpha:x,depth:y,stencil:F,antialias:G,premultipliedAlpha:ua,preserveDrawingBuffer:E,powerPreference:I};w.addEventListener("webglcontextlost",d,!1);w.addEventListener("webglcontextrestored",e,!1);var N=z||w.getContext("webgl",x)||w.getContext("experimental-webgl",x);if(null===N){if(null!==w.getContext("webgl"))throw Error("Error creating WebGL context with your selected attributes.");throw Error("Error creating WebGL context.");}void 0===N.getShaderPrecisionFormat&&(N.getShaderPrecisionFormat=function(){return{rangeMin:1,
 {alpha:x,depth:y,stencil:F,antialias:G,premultipliedAlpha:ua,preserveDrawingBuffer:E,powerPreference:I};w.addEventListener("webglcontextlost",d,!1);w.addEventListener("webglcontextrestored",e,!1);var N=z||w.getContext("webgl",x)||w.getContext("experimental-webgl",x);if(null===N){if(null!==w.getContext("webgl"))throw Error("Error creating WebGL context with your selected attributes.");throw Error("Error creating WebGL context.");}void 0===N.getShaderPrecisionFormat&&(N.getShaderPrecisionFormat=function(){return{rangeMin:1,
@@ -293,11 +293,11 @@ void 0,b);a=(new A).set(a);this.sh.coefficients[0].set(a.r,a.g,a.b).multiplyScal
 -1,0);f.lookAt(new n(-1,0,0));this.add(f);var g=new ca(90,1,a,b);g.up.set(0,0,1);g.lookAt(new n(0,1,0));this.add(g);var h=new ca(90,1,a,b);h.up.set(0,0,-1);h.lookAt(new n(0,-1,0));this.add(h);var l=new ca(90,1,a,b);l.up.set(0,-1,0);l.lookAt(new n(0,0,1));this.add(l);var m=new ca(90,1,a,b);m.up.set(0,-1,0);m.lookAt(new n(0,0,-1));this.add(m);d=d||{format:1022,magFilter:1006,minFilter:1006};this.renderTarget=new rb(c,c,d);this.renderTarget.texture.name="CubeCamera";this.update=function(a,b){null===
 -1,0);f.lookAt(new n(-1,0,0));this.add(f);var g=new ca(90,1,a,b);g.up.set(0,0,1);g.lookAt(new n(0,1,0));this.add(g);var h=new ca(90,1,a,b);h.up.set(0,0,-1);h.lookAt(new n(0,-1,0));this.add(h);var l=new ca(90,1,a,b);l.up.set(0,-1,0);l.lookAt(new n(0,0,1));this.add(l);var m=new ca(90,1,a,b);m.up.set(0,-1,0);m.lookAt(new n(0,0,-1));this.add(m);d=d||{format:1022,magFilter:1006,minFilter:1006};this.renderTarget=new rb(c,c,d);this.renderTarget.texture.name="CubeCamera";this.update=function(a,b){null===
 this.parent&&this.updateMatrixWorld();var c=a.getRenderTarget(),d=this.renderTarget,q=d.texture.generateMipmaps;d.texture.generateMipmaps=!1;a.setRenderTarget(d,0);a.render(b,e);a.setRenderTarget(d,1);a.render(b,f);a.setRenderTarget(d,2);a.render(b,g);a.setRenderTarget(d,3);a.render(b,h);a.setRenderTarget(d,4);a.render(b,l);d.texture.generateMipmaps=q;a.setRenderTarget(d,5);a.render(b,m);a.setRenderTarget(c)};this.clear=function(a,b,c,d){for(var e=a.getRenderTarget(),f=this.renderTarget,g=0;6>g;g++)a.setRenderTarget(f,
 this.parent&&this.updateMatrixWorld();var c=a.getRenderTarget(),d=this.renderTarget,q=d.texture.generateMipmaps;d.texture.generateMipmaps=!1;a.setRenderTarget(d,0);a.render(b,e);a.setRenderTarget(d,1);a.render(b,f);a.setRenderTarget(d,2);a.render(b,g);a.setRenderTarget(d,3);a.render(b,h);a.setRenderTarget(d,4);a.render(b,l);d.texture.generateMipmaps=q;a.setRenderTarget(d,5);a.render(b,m);a.setRenderTarget(c)};this.clear=function(a,b,c,d){for(var e=a.getRenderTarget(),f=this.renderTarget,g=0;6>g;g++)a.setRenderTarget(f,
 g),a.clear(b,c,d);a.setRenderTarget(e)}}function Ae(a){this.autoStart=void 0!==a?a:!0;this.elapsedTime=this.oldTime=this.startTime=0;this.running=!1}function Be(){D.call(this);this.type="AudioListener";this.context=Ce.getContext();this.gain=this.context.createGain();this.gain.connect(this.context.destination);this.filter=null;this.timeDelta=0}function qc(a){D.call(this);this.type="Audio";this.listener=a;this.context=a.context;this.gain=this.context.createGain();this.gain.connect(a.getInput());this.autoplay=
 g),a.clear(b,c,d);a.setRenderTarget(e)}}function Ae(a){this.autoStart=void 0!==a?a:!0;this.elapsedTime=this.oldTime=this.startTime=0;this.running=!1}function Be(){D.call(this);this.type="AudioListener";this.context=Ce.getContext();this.gain=this.context.createGain();this.gain.connect(this.context.destination);this.filter=null;this.timeDelta=0}function qc(a){D.call(this);this.type="Audio";this.listener=a;this.context=a.context;this.gain=this.context.createGain();this.gain.connect(a.getInput());this.autoplay=
-!1;this.buffer=null;this.detune=0;this.loop=!1;this.offset=this.startTime=0;this.playbackRate=1;this.isPlaying=!1;this.hasPlaybackControl=!0;this.sourceType="empty";this.filters=[]}function De(a){qc.call(this,a);this.panner=this.context.createPanner();this.panner.connect(this.gain)}function Ee(a,b){this.analyser=a.context.createAnalyser();this.analyser.fftSize=void 0!==b?b:2048;this.data=new Uint8Array(this.analyser.frequencyBinCount);a.getOutput().connect(this.analyser)}function Fe(a,b,c){this.binding=
-a;this.valueSize=c;a=Float64Array;switch(b){case "quaternion":b=this._slerp;break;case "string":case "bool":a=Array;b=this._select;break;default:b=this._lerp}this.buffer=new a(4*c);this._mixBufferRegion=b;this.referenceCount=this.useCount=this.cumulativeWeight=0}function Mf(a,b,c){c=c||ia.parseTrackName(b);this._targetGroup=a;this._bindings=a.subscribe_(b,c)}function ia(a,b,c){this.path=b;this.parsedPath=c||ia.parseTrackName(b);this.node=ia.findNode(a,this.parsedPath.nodeName)||a;this.rootNode=a}
-function Nf(){this.uuid=O.generateUUID();this._objects=Array.prototype.slice.call(arguments);this.nCachedObjects_=0;var a={};this._indicesByUUID=a;for(var b=0,c=arguments.length;b!==c;++b)a[arguments[b].uuid]=b;this._paths=[];this._parsedPaths=[];this._bindings=[];this._bindingsIndicesByPath={};var d=this;this.stats={objects:{get total(){return d._objects.length},get inUse(){return this.total-d.nCachedObjects_}},get bindingsPerObject(){return d._bindings.length}}}function Of(a,b,c){this._mixer=a;
-this._clip=b;this._localRoot=c||null;a=b.tracks;b=a.length;c=Array(b);for(var d={endingStart:2400,endingEnd:2400},e=0;e!==b;++e){var f=a[e].createInterpolant(null);c[e]=f;f.settings=d}this._interpolantSettings=d;this._interpolants=c;this._propertyBindings=Array(b);this._weightInterpolant=this._timeScaleInterpolant=this._byClipCacheIndex=this._cacheIndex=null;this.loop=2201;this._loopCount=-1;this._startTime=null;this.time=0;this._effectiveWeight=this.weight=this._effectiveTimeScale=this.timeScale=
-1;this.repetitions=Infinity;this.paused=!1;this.enabled=!0;this.clampWhenFinished=!1;this.zeroSlopeAtEnd=this.zeroSlopeAtStart=!0}function Ge(a){this._root=a;this._initMemoryManager();this.time=this._accuIndex=0;this.timeScale=1}function Xd(a,b){"string"===typeof a&&(console.warn("THREE.Uniform: Type parameter is no longer needed."),a=b);this.value=a}function He(){B.call(this);this.type="InstancedBufferGeometry";this.maxInstancedCount=void 0}function Ie(a,b,c){Ab.call(this,a,b);this.meshPerAttribute=
+!1;this.buffer=null;this.detune=0;this.loop=!1;this.offset=this.startTime=0;this.playbackRate=1;this.isPlaying=!1;this.hasPlaybackControl=!0;this.sourceType="empty";this.filters=[]}function De(a){qc.call(this,a);this.panner=this.context.createPanner();this.panner.panningModel="HRTF";this.panner.connect(this.gain)}function Ee(a,b){this.analyser=a.context.createAnalyser();this.analyser.fftSize=void 0!==b?b:2048;this.data=new Uint8Array(this.analyser.frequencyBinCount);a.getOutput().connect(this.analyser)}
+function Fe(a,b,c){this.binding=a;this.valueSize=c;a=Float64Array;switch(b){case "quaternion":b=this._slerp;break;case "string":case "bool":a=Array;b=this._select;break;default:b=this._lerp}this.buffer=new a(4*c);this._mixBufferRegion=b;this.referenceCount=this.useCount=this.cumulativeWeight=0}function Mf(a,b,c){c=c||ia.parseTrackName(b);this._targetGroup=a;this._bindings=a.subscribe_(b,c)}function ia(a,b,c){this.path=b;this.parsedPath=c||ia.parseTrackName(b);this.node=ia.findNode(a,this.parsedPath.nodeName)||
+a;this.rootNode=a}function Nf(){this.uuid=O.generateUUID();this._objects=Array.prototype.slice.call(arguments);this.nCachedObjects_=0;var a={};this._indicesByUUID=a;for(var b=0,c=arguments.length;b!==c;++b)a[arguments[b].uuid]=b;this._paths=[];this._parsedPaths=[];this._bindings=[];this._bindingsIndicesByPath={};var d=this;this.stats={objects:{get total(){return d._objects.length},get inUse(){return this.total-d.nCachedObjects_}},get bindingsPerObject(){return d._bindings.length}}}function Of(a,b,
+c){this._mixer=a;this._clip=b;this._localRoot=c||null;a=b.tracks;b=a.length;c=Array(b);for(var d={endingStart:2400,endingEnd:2400},e=0;e!==b;++e){var f=a[e].createInterpolant(null);c[e]=f;f.settings=d}this._interpolantSettings=d;this._interpolants=c;this._propertyBindings=Array(b);this._weightInterpolant=this._timeScaleInterpolant=this._byClipCacheIndex=this._cacheIndex=null;this.loop=2201;this._loopCount=-1;this._startTime=null;this.time=0;this._effectiveWeight=this.weight=this._effectiveTimeScale=
+this.timeScale=1;this.repetitions=Infinity;this.paused=!1;this.enabled=!0;this.clampWhenFinished=!1;this.zeroSlopeAtEnd=this.zeroSlopeAtStart=!0}function Ge(a){this._root=a;this._initMemoryManager();this.time=this._accuIndex=0;this.timeScale=1}function Xd(a,b){"string"===typeof a&&(console.warn("THREE.Uniform: Type parameter is no longer needed."),a=b);this.value=a}function He(){B.call(this);this.type="InstancedBufferGeometry";this.maxInstancedCount=void 0}function Ie(a,b,c){Ab.call(this,a,b);this.meshPerAttribute=
 c||1}function Je(a,b,c,d){"number"===typeof c&&(d=c,c=!1,console.error("THREE.InstancedBufferAttribute: The constructor now expects normalized as the third argument."));H.call(this,a,b,c);this.meshPerAttribute=d||1}function Pf(a,b,c,d){this.ray=new zb(a,b);this.near=c||0;this.far=d||Infinity;this.params={Mesh:{},Line:{},LOD:{},Points:{threshold:1},Sprite:{}};Object.defineProperties(this.params,{PointCloud:{get:function(){console.warn("THREE.Raycaster: params.PointCloud has been renamed to params.Points.");
 c||1}function Je(a,b,c,d){"number"===typeof c&&(d=c,c=!1,console.error("THREE.InstancedBufferAttribute: The constructor now expects normalized as the third argument."));H.call(this,a,b,c);this.meshPerAttribute=d||1}function Pf(a,b,c,d){this.ray=new zb(a,b);this.near=c||0;this.far=d||Infinity;this.params={Mesh:{},Line:{},LOD:{},Points:{threshold:1},Sprite:{}};Object.defineProperties(this.params,{PointCloud:{get:function(){console.warn("THREE.Raycaster: params.PointCloud has been renamed to params.Points.");
 return this.Points}}})}function Qf(a,b){return a.distance-b.distance}function Ke(a,b,c,d){if(!1!==a.visible&&(a.raycast(b,c),!0===d)){a=a.children;d=0;for(var e=a.length;d<e;d++)Ke(a[d],b,c,!0)}}function Rf(a,b,c){this.radius=void 0!==a?a:1;this.phi=void 0!==b?b:0;this.theta=void 0!==c?c:0;return this}function Sf(a,b,c){this.radius=void 0!==a?a:1;this.theta=void 0!==b?b:0;this.y=void 0!==c?c:0;return this}function Le(a,b){this.min=void 0!==a?a:new C(Infinity,Infinity);this.max=void 0!==b?b:new C(-Infinity,
 return this.Points}}})}function Qf(a,b){return a.distance-b.distance}function Ke(a,b,c,d){if(!1!==a.visible&&(a.raycast(b,c),!0===d)){a=a.children;d=0;for(var e=a.length;d<e;d++)Ke(a[d],b,c,!0)}}function Rf(a,b,c){this.radius=void 0!==a?a:1;this.phi=void 0!==b?b:0;this.theta=void 0!==c?c:0;return this}function Sf(a,b,c){this.radius=void 0!==a?a:1;this.theta=void 0!==b?b:0;this.y=void 0!==c?c:0;return this}function Le(a,b){this.min=void 0!==a?a:new C(Infinity,Infinity);this.max=void 0!==b?b:new C(-Infinity,
 -Infinity)}function Me(a,b){this.start=void 0!==a?a:new n;this.end=void 0!==b?b:new n}function rd(a){D.call(this);this.material=a;this.render=function(){}}function sd(a,b,c,d){this.object=a;this.size=void 0!==b?b:1;a=void 0!==c?c:16711680;d=void 0!==d?d:1;b=0;(c=this.object.geometry)&&c.isGeometry?b=3*c.faces.length:c&&c.isBufferGeometry&&(b=c.attributes.normal.count);c=new B;b=new E(6*b,3);c.addAttribute("position",b);V.call(this,c,new U({color:a,linewidth:d}));this.matrixAutoUpdate=!1;this.update()}
 -Infinity)}function Me(a,b){this.start=void 0!==a?a:new n;this.end=void 0!==b?b:new n}function rd(a){D.call(this);this.material=a;this.render=function(){}}function sd(a,b,c,d){this.object=a;this.size=void 0!==b?b:1;a=void 0!==c?c:16711680;d=void 0!==d?d:1;b=0;(c=this.object.geometry)&&c.isGeometry?b=3*c.faces.length:c&&c.isBufferGeometry&&(b=c.attributes.normal.count);c=new B;b=new E(6*b,3);c.addAttribute("position",b);V.call(this,c,new U({color:a,linewidth:d}));this.matrixAutoUpdate=!1;this.update()}
@@ -965,7 +965,7 @@ vc;k.LightProbeHelper=wc;k.GridHelper=Yd;k.PolarGridHelper=Zd;k.PositionalAudioH
 Tc;k.OctahedronBufferGeometry=Bb;k.IcosahedronGeometry=Uc;k.IcosahedronBufferGeometry=dc;k.DodecahedronGeometry=Vc;k.DodecahedronBufferGeometry=ec;k.PolyhedronGeometry=Rc;k.PolyhedronBufferGeometry=la;k.TubeGeometry=Wc;k.TubeBufferGeometry=Cb;k.TorusKnotGeometry=Xc;k.TorusKnotBufferGeometry=fc;k.TorusGeometry=Yc;k.TorusBufferGeometry=gc;k.TextGeometry=cd;k.TextBufferGeometry=hc;k.SphereGeometry=dd;k.SphereBufferGeometry=ob;k.RingGeometry=ed;k.RingBufferGeometry=ic;k.PlaneGeometry=Gc;k.PlaneBufferGeometry=
 Tc;k.OctahedronBufferGeometry=Bb;k.IcosahedronGeometry=Uc;k.IcosahedronBufferGeometry=dc;k.DodecahedronGeometry=Vc;k.DodecahedronBufferGeometry=ec;k.PolyhedronGeometry=Rc;k.PolyhedronBufferGeometry=la;k.TubeGeometry=Wc;k.TubeBufferGeometry=Cb;k.TorusKnotGeometry=Xc;k.TorusKnotBufferGeometry=fc;k.TorusGeometry=Yc;k.TorusBufferGeometry=gc;k.TextGeometry=cd;k.TextBufferGeometry=hc;k.SphereGeometry=dd;k.SphereBufferGeometry=ob;k.RingGeometry=ed;k.RingBufferGeometry=ic;k.PlaneGeometry=Gc;k.PlaneBufferGeometry=
 yb;k.LatheGeometry=fd;k.LatheBufferGeometry=jc;k.ShapeGeometry=Fb;k.ShapeBufferGeometry=Gb;k.ExtrudeGeometry=Eb;k.ExtrudeBufferGeometry=Ya;k.EdgesGeometry=kc;k.ConeGeometry=gd;k.ConeBufferGeometry=hd;k.CylinderGeometry=Hb;k.CylinderBufferGeometry=eb;k.CircleGeometry=id;k.CircleBufferGeometry=lc;k.BoxGeometry=Tb;k.CubeGeometry=Tb;k.BoxBufferGeometry=wb;k.ShadowMaterial=Ib;k.SpriteMaterial=nb;k.RawShaderMaterial=mc;k.ShaderMaterial=ea;k.PointsMaterial=Ia;k.MeshPhysicalMaterial=Jb;k.MeshStandardMaterial=
 yb;k.LatheGeometry=fd;k.LatheBufferGeometry=jc;k.ShapeGeometry=Fb;k.ShapeBufferGeometry=Gb;k.ExtrudeGeometry=Eb;k.ExtrudeBufferGeometry=Ya;k.EdgesGeometry=kc;k.ConeGeometry=gd;k.ConeBufferGeometry=hd;k.CylinderGeometry=Hb;k.CylinderBufferGeometry=eb;k.CircleGeometry=id;k.CircleBufferGeometry=lc;k.BoxGeometry=Tb;k.CubeGeometry=Tb;k.BoxBufferGeometry=wb;k.ShadowMaterial=Ib;k.SpriteMaterial=nb;k.RawShaderMaterial=mc;k.ShaderMaterial=ea;k.PointsMaterial=Ia;k.MeshPhysicalMaterial=Jb;k.MeshStandardMaterial=
 Za;k.MeshPhongMaterial=Ja;k.MeshToonMaterial=Kb;k.MeshNormalMaterial=Lb;k.MeshLambertMaterial=Mb;k.MeshDepthMaterial=jb;k.MeshDistanceMaterial=kb;k.MeshBasicMaterial=Ca;k.MeshMatcapMaterial=Nb;k.LineDashedMaterial=Ob;k.LineBasicMaterial=U;k.Material=Q;k.Float64BufferAttribute=Fc;k.Float32BufferAttribute=E;k.Uint32BufferAttribute=vb;k.Int32BufferAttribute=Ec;k.Uint16BufferAttribute=ub;k.Int16BufferAttribute=Dc;k.Uint8ClampedBufferAttribute=Cc;k.Uint8BufferAttribute=Bc;k.Int8BufferAttribute=Ac;k.BufferAttribute=
 Za;k.MeshPhongMaterial=Ja;k.MeshToonMaterial=Kb;k.MeshNormalMaterial=Lb;k.MeshLambertMaterial=Mb;k.MeshDepthMaterial=jb;k.MeshDistanceMaterial=kb;k.MeshBasicMaterial=Ca;k.MeshMatcapMaterial=Nb;k.LineDashedMaterial=Ob;k.LineBasicMaterial=U;k.Material=Q;k.Float64BufferAttribute=Fc;k.Float32BufferAttribute=E;k.Uint32BufferAttribute=vb;k.Int32BufferAttribute=Ec;k.Uint16BufferAttribute=ub;k.Int16BufferAttribute=Dc;k.Uint8ClampedBufferAttribute=Cc;k.Uint8BufferAttribute=Bc;k.Int8BufferAttribute=Ac;k.BufferAttribute=
-H;k.ArcCurve=pc;k.CatmullRomCurve3=oa;k.CubicBezierCurve=La;k.CubicBezierCurve3=$a;k.EllipseCurve=Ea;k.LineCurve=wa;k.LineCurve3=Ma;k.QuadraticBezierCurve=Na;k.QuadraticBezierCurve3=ab;k.SplineCurve=Oa;k.REVISION="104";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=
+H;k.ArcCurve=pc;k.CatmullRomCurve3=oa;k.CubicBezierCurve=La;k.CubicBezierCurve3=$a;k.EllipseCurve=Ea;k.LineCurve=wa;k.LineCurve3=Ma;k.QuadraticBezierCurve=Na;k.QuadraticBezierCurve3=ab;k.SplineCurve=Oa;k.REVISION="105dev";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.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=
 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.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.ACESFilmicToneMapping=5;k.UVMapping=300;k.CubeReflectionMapping=301;k.CubeRefractionMapping=302;k.EquirectangularReflectionMapping=303;k.EquirectangularRefractionMapping=
 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.ACESFilmicToneMapping=5;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.RepeatWrapping=1E3;k.ClampToEdgeWrapping=1001;k.MirroredRepeatWrapping=1002;k.NearestFilter=1003;k.NearestMipMapNearestFilter=1004;k.NearestMipMapLinearFilter=1005;k.LinearFilter=1006;k.LinearMipMapNearestFilter=1007;k.LinearMipMapLinearFilter=1008;k.UnsignedByteType=1009;k.ByteType=1010;k.ShortType=1011;k.UnsignedShortType=1012;k.IntType=1013;k.UnsignedIntType=1014;k.FloatType=1015;k.HalfFloatType=
 304;k.SphericalReflectionMapping=305;k.CubeUVReflectionMapping=306;k.CubeUVRefractionMapping=307;k.RepeatWrapping=1E3;k.ClampToEdgeWrapping=1001;k.MirroredRepeatWrapping=1002;k.NearestFilter=1003;k.NearestMipMapNearestFilter=1004;k.NearestMipMapLinearFilter=1005;k.LinearFilter=1006;k.LinearMipMapNearestFilter=1007;k.LinearMipMapLinearFilter=1008;k.UnsignedByteType=1009;k.ByteType=1010;k.ShortType=1011;k.UnsignedShortType=1012;k.IntType=1013;k.UnsignedIntType=1014;k.FloatType=1015;k.HalfFloatType=

+ 2 - 1
build/three.module.js

@@ -179,7 +179,7 @@ Object.assign( EventDispatcher.prototype, {
 
 
 } );
 } );
 
 
-var REVISION = '104';
+var REVISION = '105dev';
 var MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 };
 var MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 };
 var CullFaceNone = 0;
 var CullFaceNone = 0;
 var CullFaceBack = 1;
 var CullFaceBack = 1;
@@ -41263,6 +41263,7 @@ function PositionalAudio( listener ) {
 	Audio.call( this, listener );
 	Audio.call( this, listener );
 
 
 	this.panner = this.context.createPanner();
 	this.panner = this.context.createPanner();
+	this.panner.panningModel = 'HRTF';
 	this.panner.connect( this.gain );
 	this.panner.connect( this.gain );
 
 
 }
 }