瀏覽代碼

Updated builds.

Mr.doob 8 年之前
父節點
當前提交
526876e903
共有 3 個文件被更改,包括 66 次插入74 次删除
  1. 2 6
      build/three.js
  2. 62 62
      build/three.min.js
  3. 2 6
      build/three.modules.js

+ 2 - 6
build/three.js

@@ -1092,10 +1092,6 @@
 			this.unpackAlignment = source.unpackAlignment;
 			this.encoding = source.encoding;
 
-			// TODO (abelnation): this was added as something causes texture constants to be "copied" before they are properly uploaded to GPU
-			this.needsUpdate = source.needsUpdate;
-			this.version = source.version;
-
 			return this;
 
 		},
@@ -32814,7 +32810,7 @@
 	 * @author mrdoob / http://mrdoob.com/
 	 */
 
-	function ObjectLoader ( manager ) {
+	function ObjectLoader( manager ) {
 
 		this.manager = ( manager !== undefined ) ? manager : DefaultLoadingManager;
 		this.texturePath = '';
@@ -32886,7 +32882,7 @@
 
 			} );
 
-			var textures  = this.parseTextures( json.textures, images );
+			var textures = this.parseTextures( json.textures, images );
 			var materials = this.parseMaterials( json.materials, textures );
 
 			var object = this.parseObject( json.object, geometries, materials );

文件差異過大導致無法顯示
+ 62 - 62
build/three.min.js


+ 2 - 6
build/three.modules.js

@@ -1086,10 +1086,6 @@ Texture.prototype = {
 		this.unpackAlignment = source.unpackAlignment;
 		this.encoding = source.encoding;
 
-		// TODO (abelnation): this was added as something causes texture constants to be "copied" before they are properly uploaded to GPU
-		this.needsUpdate = source.needsUpdate;
-		this.version = source.version;
-
 		return this;
 
 	},
@@ -32808,7 +32804,7 @@ Object.assign( JSONLoader.prototype, {
  * @author mrdoob / http://mrdoob.com/
  */
 
-function ObjectLoader ( manager ) {
+function ObjectLoader( manager ) {
 
 	this.manager = ( manager !== undefined ) ? manager : DefaultLoadingManager;
 	this.texturePath = '';
@@ -32880,7 +32876,7 @@ Object.assign( ObjectLoader.prototype, {
 
 		} );
 
-		var textures  = this.parseTextures( json.textures, images );
+		var textures = this.parseTextures( json.textures, images );
 		var materials = this.parseMaterials( json.materials, textures );
 
 		var object = this.parseObject( json.object, geometries, materials );

部分文件因文件數量過多而無法顯示