|
@@ -1,6 +1,6 @@
|
|
|
/**
|
|
|
* @license
|
|
|
- * Copyright 2010-2022 Three.js Authors
|
|
|
+ * Copyright 2010-2023 Three.js Authors
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
*/
|
|
|
const REVISION = '149dev';
|
|
@@ -7501,7 +7501,7 @@ class Object3D extends EventDispatcher {
|
|
|
this.parent = null;
|
|
|
this.children = [];
|
|
|
|
|
|
- this.up = Object3D.DefaultUp.clone();
|
|
|
+ this.up = Object3D.DEFAULT_UP.clone();
|
|
|
|
|
|
const position = new Vector3();
|
|
|
const rotation = new Euler();
|
|
@@ -7555,10 +7555,10 @@ class Object3D extends EventDispatcher {
|
|
|
this.matrix = new Matrix4();
|
|
|
this.matrixWorld = new Matrix4();
|
|
|
|
|
|
- this.matrixAutoUpdate = Object3D.DefaultMatrixAutoUpdate;
|
|
|
+ this.matrixAutoUpdate = Object3D.DEFAULT_MATRIX_AUTO_UPDATE;
|
|
|
this.matrixWorldNeedsUpdate = false;
|
|
|
|
|
|
- this.matrixWorldAutoUpdate = Object3D.DefaultMatrixWorldAutoUpdate; // checked by the renderer
|
|
|
+ this.matrixWorldAutoUpdate = Object3D.DEFAULT_MATRIX_WORLD_AUTO_UPDATE; // checked by the renderer
|
|
|
|
|
|
this.layers = new Layers();
|
|
|
this.visible = true;
|
|
@@ -8421,9 +8421,9 @@ class Object3D extends EventDispatcher {
|
|
|
|
|
|
}
|
|
|
|
|
|
-Object3D.DefaultUp = /*@__PURE__*/ new Vector3( 0, 1, 0 );
|
|
|
-Object3D.DefaultMatrixAutoUpdate = true;
|
|
|
-Object3D.DefaultMatrixWorldAutoUpdate = true;
|
|
|
+Object3D.DEFAULT_UP = /*@__PURE__*/ new Vector3( 0, 1, 0 );
|
|
|
+Object3D.DEFAULT_MATRIX_AUTO_UPDATE = true;
|
|
|
+Object3D.DEFAULT_MATRIX_WORLD_AUTO_UPDATE = true;
|
|
|
|
|
|
const _v0$1 = /*@__PURE__*/ new Vector3();
|
|
|
const _v1$3 = /*@__PURE__*/ new Vector3();
|
|
@@ -41059,7 +41059,7 @@ class HemisphereLight extends Light {
|
|
|
|
|
|
this.type = 'HemisphereLight';
|
|
|
|
|
|
- this.position.copy( Object3D.DefaultUp );
|
|
|
+ this.position.copy( Object3D.DEFAULT_UP );
|
|
|
this.updateMatrix();
|
|
|
|
|
|
this.groundColor = new Color( groundColor );
|
|
@@ -41273,7 +41273,7 @@ class SpotLight extends Light {
|
|
|
|
|
|
this.type = 'SpotLight';
|
|
|
|
|
|
- this.position.copy( Object3D.DefaultUp );
|
|
|
+ this.position.copy( Object3D.DEFAULT_UP );
|
|
|
this.updateMatrix();
|
|
|
|
|
|
this.target = new Object3D();
|
|
@@ -41492,7 +41492,7 @@ class DirectionalLight extends Light {
|
|
|
|
|
|
this.type = 'DirectionalLight';
|
|
|
|
|
|
- this.position.copy( Object3D.DefaultUp );
|
|
|
+ this.position.copy( Object3D.DEFAULT_UP );
|
|
|
this.updateMatrix();
|
|
|
|
|
|
this.target = new Object3D();
|