diff --git a/build/three.js b/build/three.js index 47fb73edde2f7da63c14dcfa118510be7b0bbd99..bb11aa65b8ee19edc52ddc68db5f9ef017c591c8 100644 --- a/build/three.js +++ b/build/three.js @@ -4,7 +4,7 @@ * @author mrdoob / http://mrdoob.com/ */ -var THREE = { REVISION: '79dev' }; +var THREE = { REVISION: '79' }; // @@ -17707,7 +17707,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(); @@ -17766,7 +17766,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 ); @@ -17854,7 +17854,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(); diff --git a/build/three.min.js b/build/three.min.js index 64cad2e875ee1044785d4dc307da906a4ed8aec9..a955ba13d67da5143fdadcb2d67312e16e1e8c8f 100644 --- a/build/three.min.js +++ b/build/three.min.js @@ -1,5 +1,5 @@ // threejs.org/license -'use strict';var THREE={REVISION:"79dev"};"function"===typeof define&&define.amd?define("three",THREE):"undefined"!==typeof exports&&"undefined"!==typeof module&&(module.exports=THREE);void 0===Number.EPSILON&&(Number.EPSILON=Math.pow(2,-52));void 0===Math.sign&&(Math.sign=function(a){return 0>a?-1:0a?-1:0