Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
车家大少爷
three.js
提交
51f7e69e
T
three.js
项目概览
车家大少爷
/
three.js
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
three.js
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
51f7e69e
编写于
2月 12, 2019
作者:
M
Mr.doob
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Updated builds.
上级
da896971
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
3 addition
and
3 deletion
+3
-3
build/three.js
build/three.js
+1
-1
build/three.min.js
build/three.min.js
+1
-1
build/three.module.js
build/three.module.js
+1
-1
未找到文件。
build/three.js
浏览文件 @
51f7e69e
...
...
@@ -45016,7 +45016,7 @@
this.audio = audio;
this.range = range || 1;
this.divisionsInnerAngle = divisions
Out
erAngle || 16;
this.divisionsInnerAngle = divisions
Inn
erAngle || 16;
this.divisionsOuterAngle = divisionsOuterAngle || 2;
var geometry = new BufferGeometry();
build/three.min.js
浏览文件 @
51f7e69e
...
...
@@ -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",
...
...
build/three.module.js
浏览文件 @
51f7e69e
...
...
@@ -45010,7 +45010,7 @@ function PositionalAudioHelper( audio, range, divisionsInnerAngle, divisionsOute
this.audio = audio;
this.range = range || 1;
this.divisionsInnerAngle = divisions
Out
erAngle || 16;
this.divisionsInnerAngle = divisions
Inn
erAngle || 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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录