Преглед изворни кода

HemisphereLight: Default to 0,1,0. See #7155.

Mr.doob пре 10 година
родитељ
комит
484246a450
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/lights/HemisphereLight.js

+ 1 - 1
src/lights/HemisphereLight.js

@@ -8,7 +8,7 @@ THREE.HemisphereLight = function ( skyColor, groundColor, intensity ) {
 
 
 	this.type = 'HemisphereLight';
 	this.type = 'HemisphereLight';
 
 
-	this.position.set( 0, 100, 0 );
+	this.position.set( 0, 1, 0 );
 	this.updateMatrix();
 	this.updateMatrix();
 
 
 	this.groundColor = new THREE.Color( groundColor );
 	this.groundColor = new THREE.Color( groundColor );