Mr.doob 10 gadi atpakaļ
vecāks
revīzija
94b644d8e3

+ 1 - 1
examples/webgl_environment_maps.html

@@ -25,7 +25,7 @@
 
 
 	<body>
 	<body>
 		
 		
-		<script src="../build/three.js"></script>
+		<script src="../build/three.min.js"></script>
 
 
 		<script src="js/controls/OrbitControls.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 ) {
 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 );
 	THREE.Texture.call( this, images, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy );
 
 
 	this.images = images;
 	this.images = images;