Browse Source

remove unnecessary escape character

angus 6 years ago
parent
commit
6e03136b14
1 changed files with 4 additions and 4 deletions
  1. 4 4
      examples/webgl_materials_cubemap_mipmaps.html

+ 4 - 4
examples/webgl_materials_cubemap_mipmaps.html

@@ -30,7 +30,7 @@
 			init();
 			animate();
 
-			// load custmized cube texture
+			//load custmized cube texture
 			async function loadCubeTextureWithMipmaps() {
 
 				var path = 'textures/cube/angus/';
@@ -88,10 +88,10 @@
 				var pendings = [];
 				loadCubeTextureWithMipmaps().then( function( cubeTexture ) {
 
-					// model
+					//model
 					var sphere = new THREE.SphereBufferGeometry( 100, 128, 128 );
 
-					// manual mipmaps
+					//manual mipmaps
 					var material = new THREE.MeshBasicMaterial( { color: 0xffffff, envMap: cubeTexture } );
 					material.name = 'manual mipmaps';
 
@@ -111,7 +111,7 @@
 					material.name = 'auto mipmaps';
 
 					var autoCubeTexture = cubeTexture.clone();
-					// autoCubeTexture.mipmaps = [];
+					autoCubeTexture.mipmaps = [];
 					autoCubeTexture.generateMipmaps = true;
 					autoCubeTexture.needsUpdate = true;