Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Ablesons
three.js
提交
2b600293
T
three.js
项目概览
Ablesons
/
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,发现更多精彩内容 >>
提交
2b600293
编写于
7月 05, 2017
作者:
M
Mr.doob
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Updated builds.
上级
391f65c6
变更
3
展开全部
显示空白变更内容
内联
并排
Showing
3 changed file
with
793 addition
and
792 deletion
+793
-792
build/three.js
build/three.js
+15
-15
build/three.min.js
build/three.min.js
+763
-762
build/three.module.js
build/three.module.js
+15
-15
未找到文件。
build/three.js
浏览文件 @
2b600293
...
...
@@ -18288,7 +18288,7 @@
} else {
console.warn(
"THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()"
);
console.warn(
'THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()'
);
}
...
...
@@ -18514,7 +18514,7 @@
} else {
console.warn(
"THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"
);
console.warn(
'THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()'
);
}
...
...
@@ -18605,13 +18605,13 @@
function setupDepthTexture( framebuffer, renderTarget ) {
var isCube = ( renderTarget && renderTarget.isWebGLRenderTargetCube );
if ( isCube ) throw new Error(
'Depth Texture with cube render targets is not supported!'
);
if ( isCube ) throw new Error(
'Depth Texture with cube render targets is not supported'
);
_gl.bindFramebuffer( _gl.FRAMEBUFFER, framebuffer );
if ( !( renderTarget.depthTexture && renderTarget.depthTexture.isDepthTexture ) ) {
throw new Error(
'renderTarget.depthTexture must be an instance of THREE.DepthTexture'
);
throw new Error(
'renderTarget.depthTexture must be an instance of THREE.DepthTexture'
);
}
...
...
@@ -18638,7 +18638,7 @@
} else {
throw new Error(
'Unknown depthTexture format')
throw new Error(
'Unknown depthTexture format' );
}
...
...
@@ -18653,7 +18653,7 @@
if ( renderTarget.depthTexture ) {
if ( isCube ) throw new Error(
'target.depthTexture not supported in Cube render targets'
);
if ( isCube ) throw new Error(
'target.depthTexture not supported in Cube render targets'
);
setupDepthTexture( renderTargetProperties.__webglFramebuffer, renderTarget );
...
...
@@ -24585,7 +24585,7 @@
if ( format !== DepthFormat && format !== DepthStencilFormat ) {
throw new Error( 'DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat' )
throw new Error( 'DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat' )
;
}
...
...
@@ -26233,7 +26233,7 @@
if ( indices ) return vertIndices;
return result;
}
}
;
} )(),
...
...
@@ -26571,7 +26571,7 @@
hIdx, nextIdx, intersection;
for ( ihIdx = 0; ihIdx < indepHoles.length; ihIdx ++ ) {
chkHole = holes[ indepHoles[ ihIdx ]];
chkHole = holes[ indepHoles[ ihIdx ]
];
for ( hIdx = 0; hIdx < chkHole.length; hIdx ++ ) {
nextIdx = hIdx + 1; nextIdx %= chkHole.length;
...
...
@@ -26604,7 +26604,7 @@
counter --;
if ( counter < 0 ) {
console.log(
"Infinite Loop! Holes left:" + indepHoles.length + ", Probably Hole outside Shape!"
);
console.log(
'THREE.ShapeUtils: Infinite Loop! Holes left:" + indepHoles.length + ", Probably Hole outside Shape!'
);
break;
}
...
...
@@ -26622,7 +26622,7 @@
holeIdx = indepHoles[ h ];
// prevent multiple checks
cutKey = shapePt.x +
":" + shapePt.y + ":"
+ holeIdx;
cutKey = shapePt.x +
':' + shapePt.y + ':'
+ holeIdx;
if ( failedCuts[ cutKey ] !== undefined ) continue;
hole = holes[ holeIdx ];
...
...
@@ -26687,11 +26687,11 @@
for ( i = 0, il = allpoints.length; i < il; i ++ ) {
key = allpoints[ i ].x +
":"
+ allpoints[ i ].y;
key = allpoints[ i ].x +
':'
+ allpoints[ i ].y;
if ( allPointsMap[ key ] !== undefined ) {
console.warn(
"THREE.ShapeUtils: Duplicate point"
, key, i );
console.warn(
'THREE.ShapeUtils: Duplicate point'
, key, i );
}
...
...
@@ -26713,7 +26713,7 @@
for ( f = 0; f < 3; f ++ ) {
key = face[ f ].x +
":"
+ face[ f ].y;
key = face[ f ].x +
':'
+ face[ f ].y;
index = allPointsMap[ key ];
...
...
build/three.min.js
浏览文件 @
2b600293
此差异已折叠。
点击以展开。
build/three.module.js
浏览文件 @
2b600293
...
...
@@ -18282,7 +18282,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, paramT
} else {
console.warn(
"THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()"
);
console.warn(
'THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()'
);
}
...
...
@@ -18508,7 +18508,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, paramT
} else {
console.warn(
"THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"
);
console.warn(
'THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()'
);
}
...
...
@@ -18599,13 +18599,13 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, paramT
function setupDepthTexture( framebuffer, renderTarget ) {
var isCube = ( renderTarget && renderTarget.isWebGLRenderTargetCube );
if ( isCube ) throw new Error(
'Depth Texture with cube render targets is not supported!'
);
if ( isCube ) throw new Error(
'Depth Texture with cube render targets is not supported'
);
_gl.bindFramebuffer( _gl.FRAMEBUFFER, framebuffer );
if ( !( renderTarget.depthTexture && renderTarget.depthTexture.isDepthTexture ) ) {
throw new Error(
'renderTarget.depthTexture must be an instance of THREE.DepthTexture'
);
throw new Error(
'renderTarget.depthTexture must be an instance of THREE.DepthTexture'
);
}
...
...
@@ -18632,7 +18632,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, paramT
} else {
throw new Error(
'Unknown depthTexture format')
throw new Error(
'Unknown depthTexture format' );
}
...
...
@@ -18647,7 +18647,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, paramT
if ( renderTarget.depthTexture ) {
if ( isCube ) throw new Error(
'target.depthTexture not supported in Cube render targets'
);
if ( isCube ) throw new Error(
'target.depthTexture not supported in Cube render targets'
);
setupDepthTexture( renderTargetProperties.__webglFramebuffer, renderTarget );
...
...
@@ -24579,7 +24579,7 @@ function DepthTexture( width, height, type, mapping, wrapS, wrapT, magFilter, mi
if ( format !== DepthFormat && format !== DepthStencilFormat ) {
throw new Error( 'DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat' )
throw new Error( 'DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat' )
;
}
...
...
@@ -26227,7 +26227,7 @@ var ShapeUtils = {
if ( indices ) return vertIndices;
return result;
}
}
;
} )(),
...
...
@@ -26565,7 +26565,7 @@ var ShapeUtils = {
hIdx, nextIdx, intersection;
for ( ihIdx = 0; ihIdx < indepHoles.length; ihIdx ++ ) {
chkHole = holes[ indepHoles[ ihIdx ]];
chkHole = holes[ indepHoles[ ihIdx ]
];
for ( hIdx = 0; hIdx < chkHole.length; hIdx ++ ) {
nextIdx = hIdx + 1; nextIdx %= chkHole.length;
...
...
@@ -26598,7 +26598,7 @@ var ShapeUtils = {
counter --;
if ( counter < 0 ) {
console.log(
"Infinite Loop! Holes left:" + indepHoles.length + ", Probably Hole outside Shape!"
);
console.log(
'THREE.ShapeUtils: Infinite Loop! Holes left:" + indepHoles.length + ", Probably Hole outside Shape!'
);
break;
}
...
...
@@ -26616,7 +26616,7 @@ var ShapeUtils = {
holeIdx = indepHoles[ h ];
// prevent multiple checks
cutKey = shapePt.x +
":" + shapePt.y + ":"
+ holeIdx;
cutKey = shapePt.x +
':' + shapePt.y + ':'
+ holeIdx;
if ( failedCuts[ cutKey ] !== undefined ) continue;
hole = holes[ holeIdx ];
...
...
@@ -26681,11 +26681,11 @@ var ShapeUtils = {
for ( i = 0, il = allpoints.length; i < il; i ++ ) {
key = allpoints[ i ].x +
":"
+ allpoints[ i ].y;
key = allpoints[ i ].x +
':'
+ allpoints[ i ].y;
if ( allPointsMap[ key ] !== undefined ) {
console.warn(
"THREE.ShapeUtils: Duplicate point"
, key, i );
console.warn(
'THREE.ShapeUtils: Duplicate point'
, key, i );
}
...
...
@@ -26707,7 +26707,7 @@ var ShapeUtils = {
for ( f = 0; f < 3; f ++ ) {
key = face[ f ].x +
":"
+ face[ f ].y;
key = face[ f ].x +
':'
+ face[ f ].y;
index = allPointsMap[ key ];
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录