فهرست منبع

fix minor style issue

Nicolas Maréchal 6 سال پیش
والد
کامیت
6df176d3f0
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      examples/js/objects/Sky.js
  2. 1 1
      examples/jsm/objects/Sky.js

+ 1 - 1
examples/js/objects/Sky.js

@@ -40,7 +40,7 @@ THREE.Sky.SkyShader = {
 		"mieCoefficient": { value: 0.005 },
 		"mieCoefficient": { value: 0.005 },
 		"mieDirectionalG": { value: 0.8 },
 		"mieDirectionalG": { value: 0.8 },
 		"sunPosition": { value: new THREE.Vector3() },
 		"sunPosition": { value: new THREE.Vector3() },
-		"up": { value: new THREE.Vector3(0, 1, 0) }
+		"up": { value: new THREE.Vector3( 0, 1, 0 ) }
 	},
 	},
 
 
 	vertexShader: [
 	vertexShader: [

+ 1 - 1
examples/jsm/objects/Sky.js

@@ -49,7 +49,7 @@ Sky.SkyShader = {
 		"mieCoefficient": { value: 0.005 },
 		"mieCoefficient": { value: 0.005 },
 		"mieDirectionalG": { value: 0.8 },
 		"mieDirectionalG": { value: 0.8 },
 		"sunPosition": { value: new Vector3() },
 		"sunPosition": { value: new Vector3() },
-		"up": { value: new Vector3(0, 1, 0) }
+		"up": { value: new Vector3( 0, 1, 0 ) }
 	},
 	},
 
 
 	vertexShader: [
 	vertexShader: [