Browse Source

Update builds.

Mugen87 5 years ago
parent
commit
f3205d7cc2
3 changed files with 39 additions and 46 deletions
  1. 7 9
      build/three.js
  2. 25 28
      build/three.min.js
  3. 7 9
      build/three.module.js

+ 7 - 9
build/three.js

@@ -34984,15 +34984,14 @@
 	 * @author mrdoob / http://mrdoob.com/
 	 *
 	 * Abstract Base class to block based textures loader (dds, pvr, ...)
+	 *
+	 * Sub classes have to implement the parse() method which will be used in load().
 	 */
 
 	function CompressedTextureLoader( manager ) {
 
 		Loader.call( this, manager );
 
-		// override in sub classes
-		this._parser = null;
-
 	}
 
 	CompressedTextureLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
@@ -35016,7 +35015,7 @@
 
 				loader.load( url[ i ], function ( buffer ) {
 
-					var texDatas = scope._parser( buffer, true );
+					var texDatas = scope.parse( buffer, true );
 
 					images[ i ] = {
 						width: texDatas.width,
@@ -35059,7 +35058,7 @@
 
 				loader.load( url, function ( buffer ) {
 
-					var texDatas = scope._parser( buffer, true );
+					var texDatas = scope.parse( buffer, true );
 
 					if ( texDatas.isCubemap ) {
 
@@ -35113,15 +35112,14 @@
 	 * @author Nikos M. / https://github.com/foo123/
 	 *
 	 * Abstract Base class to load generic binary textures formats (rgbe, hdr, ...)
+	 *
+	 * Sub classes have to implement the parse() method which will be used in load().
 	 */
 
 	function DataTextureLoader( manager ) {
 
 		Loader.call( this, manager );
 
-		// override in sub classes
-		this._parser = null;
-
 	}
 
 	DataTextureLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
@@ -35139,7 +35137,7 @@
 			loader.setPath( this.path );
 			loader.load( url, function ( buffer ) {
 
-				var texData = scope._parser( buffer );
+				var texData = scope.parse( buffer );
 
 				if ( ! texData ) return;
 

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


+ 7 - 9
build/three.module.js

@@ -34978,15 +34978,14 @@ AnimationLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
  * @author mrdoob / http://mrdoob.com/
  *
  * Abstract Base class to block based textures loader (dds, pvr, ...)
+ *
+ * Sub classes have to implement the parse() method which will be used in load().
  */
 
 function CompressedTextureLoader( manager ) {
 
 	Loader.call( this, manager );
 
-	// override in sub classes
-	this._parser = null;
-
 }
 
 CompressedTextureLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
@@ -35010,7 +35009,7 @@ CompressedTextureLoader.prototype = Object.assign( Object.create( Loader.prototy
 
 			loader.load( url[ i ], function ( buffer ) {
 
-				var texDatas = scope._parser( buffer, true );
+				var texDatas = scope.parse( buffer, true );
 
 				images[ i ] = {
 					width: texDatas.width,
@@ -35053,7 +35052,7 @@ CompressedTextureLoader.prototype = Object.assign( Object.create( Loader.prototy
 
 			loader.load( url, function ( buffer ) {
 
-				var texDatas = scope._parser( buffer, true );
+				var texDatas = scope.parse( buffer, true );
 
 				if ( texDatas.isCubemap ) {
 
@@ -35107,15 +35106,14 @@ CompressedTextureLoader.prototype = Object.assign( Object.create( Loader.prototy
  * @author Nikos M. / https://github.com/foo123/
  *
  * Abstract Base class to load generic binary textures formats (rgbe, hdr, ...)
+ *
+ * Sub classes have to implement the parse() method which will be used in load().
  */
 
 function DataTextureLoader( manager ) {
 
 	Loader.call( this, manager );
 
-	// override in sub classes
-	this._parser = null;
-
 }
 
 DataTextureLoader.prototype = Object.assign( Object.create( Loader.prototype ), {
@@ -35133,7 +35131,7 @@ DataTextureLoader.prototype = Object.assign( Object.create( Loader.prototype ),
 		loader.setPath( this.path );
 		loader.load( url, function ( buffer ) {
 
-			var texData = scope._parser( buffer );
+			var texData = scope.parse( buffer );
 
 			if ( ! texData ) return;
 

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