diff --git a/src/lights/DirectionalLight.js b/src/lights/DirectionalLight.js index 85c11fc1f078c34f5d900fe6c84bb711fbb5b241..406aba28218633acefea3ca7d203bd8a3013fca7 100644 --- a/src/lights/DirectionalLight.js +++ b/src/lights/DirectionalLight.js @@ -9,7 +9,7 @@ THREE.DirectionalLight = function ( color, intensity ) { this.type = 'DirectionalLight'; - this.position.set( 0, 1, 0 ); + this.position.copy( THREE.Object3D.DefaultUp ); this.updateMatrix(); this.target = new THREE.Object3D(); diff --git a/src/lights/HemisphereLight.js b/src/lights/HemisphereLight.js index 4525807d9543ec8bd604e17908bca78eadaf9272..4f6269cf4bcbb6fb7326c24f6d3c4c36c4c5b274 100644 --- a/src/lights/HemisphereLight.js +++ b/src/lights/HemisphereLight.js @@ -10,7 +10,7 @@ THREE.HemisphereLight = function ( skyColor, groundColor, intensity ) { this.castShadow = undefined; - this.position.set( 0, 1, 0 ); + this.position.copy( THREE.Object3D.DefaultUp ); this.updateMatrix(); this.groundColor = new THREE.Color( groundColor ); diff --git a/src/lights/SpotLight.js b/src/lights/SpotLight.js index d1e74dc43872b7e374eace63b3682dd870c33eda..3becdcd725aca1e8712d3b511256bd1bd7bcfb22 100644 --- a/src/lights/SpotLight.js +++ b/src/lights/SpotLight.js @@ -8,7 +8,7 @@ THREE.SpotLight = function ( color, intensity, distance, angle, penumbra, decay this.type = 'SpotLight'; - this.position.set( 0, 1, 0 ); + this.position.copy( THREE.Object3D.DefaultUp ); this.updateMatrix(); this.target = new THREE.Object3D();