Browse Source

Editor: Better default position for HemisphereLight.

Mr.doob 10 năm trước cách đây
mục cha
commit
c91fb34dfd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      editor/js/Menubar.Add.js

+ 1 - 1
editor/js/Menubar.Add.js

@@ -354,7 +354,7 @@ Menubar.Add = function ( editor ) {
 		var light = new THREE.HemisphereLight( skyColor, groundColor, intensity );
 		light.name = 'HemisphereLight ' + ( ++ lightCount );
 
-		light.position.set( 0.5, 1, 0.75 ).multiplyScalar( 200 );
+		light.position.set( 0, 100, 0 );
 
 		editor.execute( new AddObjectCommand( light ) );