提交 51f7e69e 编写于 作者: M Mr.doob

Updated builds.

上级 da896971
......@@ -45016,7 +45016,7 @@
this.audio = audio;
this.range = range || 1;
this.divisionsInnerAngle = divisionsOuterAngle || 16;
this.divisionsInnerAngle = divisionsInnerAngle || 16;
this.divisionsOuterAngle = divisionsOuterAngle || 2;
var geometry = new BufferGeometry();
......@@ -302,7 +302,7 @@ new B(e,3));d=new W({vertexColors:2,depthTest:!1,depthWrite:!1,transparent:!0});
1,0,-1,1,0,-1,-1,0,1,-1,0,1,1,0],3));a.computeBoundingSphere();b=new W({fog:!1});ea.call(this,a,b);a=new D;a.addAttribute("position",new B([1,1,0,-1,1,0,-1,-1,0,1,1,0,-1,-1,0,1,-1,0],3));a.computeBoundingSphere();this.add(new va(a,new xa({side:1,fog:!1})));this.update()}function qc(a,b,c){C.call(this);this.light=a;this.light.updateMatrixWorld();this.matrix=a.matrixWorld;this.matrixAutoUpdate=!1;this.color=c;a=new tb(b);a.rotateY(.5*Math.PI);this.material=new xa({wireframe:!0,fog:!1});void 0===this.color&&
(this.material.vertexColors=2);b=a.getAttribute("position");b=new Float32Array(3*b.count);a.addAttribute("color",new L(b,3));this.add(new va(a,this.material));this.update()}function od(a,b,c,d){a=a||10;b=b||10;c=new H(void 0!==c?c:4473924);d=new H(void 0!==d?d:8947848);var e=b/2,f=a/b,g=a/2;a=[];for(var h=[],k=0,m=0,q=-g;k<=b;k++,q+=f){a.push(-g,0,q,g,0,q);a.push(q,0,-g,q,0,g);var l=k===e?c:d;l.toArray(h,m);m+=3;l.toArray(h,m);m+=3;l.toArray(h,m);m+=3;l.toArray(h,m);m+=3}b=new D;b.addAttribute("position",
new B(a,3));b.addAttribute("color",new B(h,3));c=new W({vertexColors:2});U.call(this,b,c)}function Ud(a,b,c,d,e,f){a=a||10;b=b||16;c=c||8;d=d||64;e=new H(void 0!==e?e:4473924);f=new H(void 0!==f?f:8947848);var g=[],h=[],k;for(k=0;k<=b;k++){var m=k/b*2*Math.PI;var q=Math.sin(m)*a;m=Math.cos(m)*a;g.push(0,0,0);g.push(q,0,m);var l=k&1?e:f;h.push(l.r,l.g,l.b);h.push(l.r,l.g,l.b)}for(k=0;k<=c;k++){l=k&1?e:f;var t=a-a/c*k;for(b=0;b<d;b++)m=b/d*2*Math.PI,q=Math.sin(m)*t,m=Math.cos(m)*t,g.push(q,0,m),h.push(l.r,
l.g,l.b),m=(b+1)/d*2*Math.PI,q=Math.sin(m)*t,m=Math.cos(m)*t,g.push(q,0,m),h.push(l.r,l.g,l.b)}a=new D;a.addAttribute("position",new B(g,3));a.addAttribute("color",new B(h,3));g=new W({vertexColors:2});U.call(this,a,g)}function rc(a,b,c,d){this.audio=a;this.range=b||1;this.divisionsInnerAngle=d||16;this.divisionsOuterAngle=d||2;a=new D;b=new Float32Array(3*(3*(this.divisionsInnerAngle+2*this.divisionsOuterAngle)+3));a.addAttribute("position",new L(b,3));b=new W({color:65280});c=new W({color:16776960});
l.g,l.b),m=(b+1)/d*2*Math.PI,q=Math.sin(m)*t,m=Math.cos(m)*t,g.push(q,0,m),h.push(l.r,l.g,l.b)}a=new D;a.addAttribute("position",new B(g,3));a.addAttribute("color",new B(h,3));g=new W({vertexColors:2});U.call(this,a,g)}function rc(a,b,c,d){this.audio=a;this.range=b||1;this.divisionsInnerAngle=c||16;this.divisionsOuterAngle=d||2;a=new D;b=new Float32Array(3*(3*(this.divisionsInnerAngle+2*this.divisionsOuterAngle)+3));a.addAttribute("position",new L(b,3));b=new W({color:65280});c=new W({color:16776960});
ea.call(this,a,[c,b]);this.update()}function pd(a,b,c,d){this.object=a;this.size=void 0!==b?b:1;a=void 0!==c?c:16776960;d=void 0!==d?d:1;b=0;(c=this.object.geometry)&&c.isGeometry?b=c.faces.length:console.warn("THREE.FaceNormalsHelper: only THREE.Geometry is supported. Use THREE.VertexNormalsHelper, instead.");c=new D;b=new B(6*b,3);c.addAttribute("position",b);U.call(this,c,new W({color:a,linewidth:d}));this.matrixAutoUpdate=!1;this.update()}function sc(a,b,c){C.call(this);this.light=a;this.light.updateMatrixWorld();
this.matrix=a.matrixWorld;this.matrixAutoUpdate=!1;this.color=c;void 0===b&&(b=1);a=new D;a.addAttribute("position",new B([-b,b,0,b,b,0,b,-b,0,-b,-b,0,-b,b,0],3));b=new W({fog:!1});this.lightPlane=new ea(a,b);this.add(this.lightPlane);a=new D;a.addAttribute("position",new B([0,0,0,0,0,1],3));this.targetLine=new ea(a,b);this.add(this.targetLine);this.update()}function qd(a){function b(a,b,d){c(a,d);c(b,d)}function c(a,b){f.push(0,0,0);g.push(b.r,b.g,b.b);void 0===h[a]&&(h[a]=[]);h[a].push(f.length/
3-1)}var d=new D,e=new W({color:16777215,vertexColors:1}),f=[],g=[],h={},k=new H(16755200),m=new H(16711680),q=new H(43775),l=new H(16777215),t=new H(3355443);b("n1","n2",k);b("n2","n4",k);b("n4","n3",k);b("n3","n1",k);b("f1","f2",k);b("f2","f4",k);b("f4","f3",k);b("f3","f1",k);b("n1","f1",k);b("n2","f2",k);b("n3","f3",k);b("n4","f4",k);b("p","n1",m);b("p","n2",m);b("p","n3",m);b("p","n4",m);b("u1","u2",q);b("u2","u3",q);b("u3","u1",q);b("c","t",l);b("p","c",t);b("cn1","cn2",t);b("cn3","cn4",t);b("cf1",
......
......@@ -45010,7 +45010,7 @@ function PositionalAudioHelper( audio, range, divisionsInnerAngle, divisionsOute
this.audio = audio;
this.range = range || 1;
this.divisionsInnerAngle = divisionsOuterAngle || 16;
this.divisionsInnerAngle = divisionsInnerAngle || 16;
this.divisionsOuterAngle = divisionsOuterAngle || 2;
var geometry = new BufferGeometry();
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册