提交 2b600293 编写于 作者: M Mr.doob

Updated builds.

上级 391f65c6
......@@ -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 ];
......@@ -36780,7 +36780,7 @@
return this.gain.gain.value;
},
setVolume: function ( value ) {
this.gain.gain.value = value;
......
因为 它太大了无法显示 source diff 。你可以改为 查看blob
......@@ -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 ];
......@@ -36774,7 +36774,7 @@ Audio.prototype = Object.assign( Object.create( Object3D.prototype ), {
return this.gain.gain.value;
},
setVolume: function ( value ) {
this.gain.gain.value = value;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册