Преглед изворни кода

ImageUtils blank spaces clean up.

Mr.doob пре 15 година
родитељ
комит
3ad1f77774
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      src/extras/ImageUtils.js

+ 4 - 4
src/extras/ImageUtils.js

@@ -4,14 +4,14 @@ var ImageUtils = {
 
 		var image = new Image(),
 			texture = new THREE.Texture( image, mapping );
-		
+
 		image.onload = function () { texture.needsUpdate = true; if( callback ) callback( this ); };
 		image.src = path;
 
 		return texture;
 
 	},
-	
+
 	loadTextureCube: function ( array, mapping, callback ) {
 
 		var i, l, 
@@ -24,11 +24,11 @@ var ImageUtils = {
 
 			images[ i ] = new Image();
 			images[ i ].onload = function () {
-				
+
 					images.loadCount += 1; 
 					if( images.loadCount == 6 ) texture.needsUpdate = true; 
 					if( callback ) callback( this ); 
-				
+
 				};
 
 			images[ i ].src = array[ i ];

粤ICP备19079148号