소스 검색

Clean up.

Mr.doob 10 년 전
부모
커밋
94b644d8e3
2개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      examples/webgl_environment_maps.html
  2. 2 1
      src/textures/CubeTexture.js

+ 1 - 1
examples/webgl_environment_maps.html

@@ -25,7 +25,7 @@
 
 	<body>
 		
-		<script src="../build/three.js"></script>
+		<script src="../build/three.min.js"></script>
 
 		<script src="js/controls/OrbitControls.js"></script>
 

+ 2 - 1
src/textures/CubeTexture.js

@@ -4,7 +4,8 @@
 
 THREE.CubeTexture = function ( images, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy ) {
 
-  mapping = mapping !== undefined ? mapping : THREE.CubeReflectionMapping;
+	mapping = mapping !== undefined ? mapping : THREE.CubeReflectionMapping;
+	
 	THREE.Texture.call( this, images, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy );
 
 	this.images = images;