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;