Browse Source

Updated builds.

Mr.doob 8 years ago
parent
commit
2b600293d3
3 changed files with 363 additions and 363 deletions
  1. 15 15
      build/three.js
  2. 333 333
      build/three.min.js
  3. 15 15
      build/three.module.js

+ 15 - 15
build/three.js

@@ -18288,7 +18288,7 @@
 
 
 									} else {
 									} 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 {
 						} 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 ) {
 		function setupDepthTexture( framebuffer, renderTarget ) {
 
 
 			var isCube = ( renderTarget && renderTarget.isWebGLRenderTargetCube );
 			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 );
 			_gl.bindFramebuffer( _gl.FRAMEBUFFER, framebuffer );
 
 
 			if ( !( renderTarget.depthTexture && renderTarget.depthTexture.isDepthTexture ) ) {
 			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 {
 			} else {
 
 
-				throw new Error('Unknown depthTexture format')
+				throw new Error( 'Unknown depthTexture format' );
 
 
 			}
 			}
 
 
@@ -18653,7 +18653,7 @@
 
 
 			if ( renderTarget.depthTexture ) {
 			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 );
 				setupDepthTexture( renderTargetProperties.__webglFramebuffer, renderTarget );
 
 
@@ -24585,7 +24585,7 @@
 
 
 		if ( format !== DepthFormat && format !== DepthStencilFormat ) {
 		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;
 				if ( indices ) return vertIndices;
 				return result;
 				return result;
 
 
-			}
+			};
 
 
 		} )(),
 		} )(),
 
 
@@ -26571,7 +26571,7 @@
 						hIdx, nextIdx, intersection;
 						hIdx, nextIdx, intersection;
 					for ( ihIdx = 0; ihIdx < indepHoles.length; ihIdx ++ ) {
 					for ( ihIdx = 0; ihIdx < indepHoles.length; ihIdx ++ ) {
 
 
-						chkHole = holes[ indepHoles[ ihIdx ]];
+						chkHole = holes[ indepHoles[ ihIdx ] ];
 						for ( hIdx = 0; hIdx < chkHole.length; hIdx ++ ) {
 						for ( hIdx = 0; hIdx < chkHole.length; hIdx ++ ) {
 
 
 							nextIdx = hIdx + 1; nextIdx %= chkHole.length;
 							nextIdx = hIdx + 1; nextIdx %= chkHole.length;
@@ -26604,7 +26604,7 @@
 					counter --;
 					counter --;
 					if ( counter < 0 ) {
 					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;
 						break;
 
 
 					}
 					}
@@ -26622,7 +26622,7 @@
 							holeIdx = indepHoles[ h ];
 							holeIdx = indepHoles[ h ];
 
 
 							// prevent multiple checks
 							// prevent multiple checks
-							cutKey = shapePt.x + ":" + shapePt.y + ":" + holeIdx;
+							cutKey = shapePt.x + ':' + shapePt.y + ':' + holeIdx;
 							if ( failedCuts[ cutKey ] !== undefined )			continue;
 							if ( failedCuts[ cutKey ] !== undefined )			continue;
 
 
 							hole = holes[ holeIdx ];
 							hole = holes[ holeIdx ];
@@ -26687,11 +26687,11 @@
 
 
 			for ( i = 0, il = allpoints.length; i < il; i ++ ) {
 			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 ) {
 				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 ++ ) {
 				for ( f = 0; f < 3; f ++ ) {
 
 
-					key = face[ f ].x + ":" + face[ f ].y;
+					key = face[ f ].x + ':' + face[ f ].y;
 
 
 					index = allPointsMap[ key ];
 					index = allPointsMap[ key ];
 
 
@@ -36780,7 +36780,7 @@
 			return this.gain.gain.value;
 			return this.gain.gain.value;
 
 
 		},
 		},
-		
+
 		setVolume: function ( value ) {
 		setVolume: function ( value ) {
 
 
 			this.gain.gain.value = value;
 			this.gain.gain.value = value;

File diff suppressed because it is too large
+ 333 - 333
build/three.min.js


+ 15 - 15
build/three.module.js

@@ -18282,7 +18282,7 @@ function WebGLTextures( _gl, extensions, state, properties, capabilities, paramT
 
 
 								} else {
 								} 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 {
 					} 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 ) {
 	function setupDepthTexture( framebuffer, renderTarget ) {
 
 
 		var isCube = ( renderTarget && renderTarget.isWebGLRenderTargetCube );
 		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 );
 		_gl.bindFramebuffer( _gl.FRAMEBUFFER, framebuffer );
 
 
 		if ( !( renderTarget.depthTexture && renderTarget.depthTexture.isDepthTexture ) ) {
 		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 {
 		} 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 ( 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 );
 			setupDepthTexture( renderTargetProperties.__webglFramebuffer, renderTarget );
 
 
@@ -24579,7 +24579,7 @@ function DepthTexture( width, height, type, mapping, wrapS, wrapT, magFilter, mi
 
 
 	if ( format !== DepthFormat && format !== DepthStencilFormat ) {
 	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;
 			if ( indices ) return vertIndices;
 			return result;
 			return result;
 
 
-		}
+		};
 
 
 	} )(),
 	} )(),
 
 
@@ -26565,7 +26565,7 @@ var ShapeUtils = {
 					hIdx, nextIdx, intersection;
 					hIdx, nextIdx, intersection;
 				for ( ihIdx = 0; ihIdx < indepHoles.length; ihIdx ++ ) {
 				for ( ihIdx = 0; ihIdx < indepHoles.length; ihIdx ++ ) {
 
 
-					chkHole = holes[ indepHoles[ ihIdx ]];
+					chkHole = holes[ indepHoles[ ihIdx ] ];
 					for ( hIdx = 0; hIdx < chkHole.length; hIdx ++ ) {
 					for ( hIdx = 0; hIdx < chkHole.length; hIdx ++ ) {
 
 
 						nextIdx = hIdx + 1; nextIdx %= chkHole.length;
 						nextIdx = hIdx + 1; nextIdx %= chkHole.length;
@@ -26598,7 +26598,7 @@ var ShapeUtils = {
 				counter --;
 				counter --;
 				if ( counter < 0 ) {
 				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;
 					break;
 
 
 				}
 				}
@@ -26616,7 +26616,7 @@ var ShapeUtils = {
 						holeIdx = indepHoles[ h ];
 						holeIdx = indepHoles[ h ];
 
 
 						// prevent multiple checks
 						// prevent multiple checks
-						cutKey = shapePt.x + ":" + shapePt.y + ":" + holeIdx;
+						cutKey = shapePt.x + ':' + shapePt.y + ':' + holeIdx;
 						if ( failedCuts[ cutKey ] !== undefined )			continue;
 						if ( failedCuts[ cutKey ] !== undefined )			continue;
 
 
 						hole = holes[ holeIdx ];
 						hole = holes[ holeIdx ];
@@ -26681,11 +26681,11 @@ var ShapeUtils = {
 
 
 		for ( i = 0, il = allpoints.length; i < il; i ++ ) {
 		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 ) {
 			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 ++ ) {
 			for ( f = 0; f < 3; f ++ ) {
 
 
-				key = face[ f ].x + ":" + face[ f ].y;
+				key = face[ f ].x + ':' + face[ f ].y;
 
 
 				index = allPointsMap[ key ];
 				index = allPointsMap[ key ];
 
 
@@ -36774,7 +36774,7 @@ Audio.prototype = Object.assign( Object.create( Object3D.prototype ), {
 		return this.gain.gain.value;
 		return this.gain.gain.value;
 
 
 	},
 	},
-	
+
 	setVolume: function ( value ) {
 	setVolume: function ( value ) {
 
 
 		this.gain.gain.value = value;
 		this.gain.gain.value = value;

Some files were not shown because too many files changed in this diff