Skip to content

Commit 3510fdd

Browse files
committed
r79
1 parent 3241458 commit 3510fdd

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

build/three.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* @author mrdoob / http://mrdoob.com/
55
*/
66

7-
var THREE = { REVISION: '79dev' };
7+
var THREE = { REVISION: '79' };
88

99
//
1010

@@ -17707,7 +17707,7 @@ THREE.DirectionalLight = function ( color, intensity ) {
1770717707

1770817708
this.type = 'DirectionalLight';
1770917709

17710-
this.position.set( 0, 1, 0 );
17710+
this.position.copy( THREE.Object3D.DefaultUp );
1771117711
this.updateMatrix();
1771217712

1771317713
this.target = new THREE.Object3D();
@@ -17766,7 +17766,7 @@ THREE.HemisphereLight = function ( skyColor, groundColor, intensity ) {
1776617766

1776717767
this.castShadow = undefined;
1776817768

17769-
this.position.set( 0, 1, 0 );
17769+
this.position.copy( THREE.Object3D.DefaultUp );
1777017770
this.updateMatrix();
1777117771

1777217772
this.groundColor = new THREE.Color( groundColor );
@@ -17854,7 +17854,7 @@ THREE.SpotLight = function ( color, intensity, distance, angle, penumbra, decay
1785417854

1785517855
this.type = 'SpotLight';
1785617856

17857-
this.position.set( 0, 1, 0 );
17857+
this.position.copy( THREE.Object3D.DefaultUp );
1785817858
this.updateMatrix();
1785917859

1786017860
this.target = new THREE.Object3D();

build/three.min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "three",
3-
"version": "0.78.0",
3+
"version": "0.79.0",
44
"description": "JavaScript 3D library",
55
"main": "build/three.js",
66
"files": [

src/Three.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @author mrdoob / http://mrdoob.com/
33
*/
44

5-
var THREE = { REVISION: '79dev' };
5+
var THREE = { REVISION: '79' };
66

77
//
88

0 commit comments

Comments
 (0)