@shopware-ag/dive 2.0.1-beta.8 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -9
- package/build/chunks/AssetCache-BvUcYEFC.mjs +79 -0
- package/build/chunks/AssetCache-CSbNftve.cjs +1 -0
- package/build/chunks/{AssetExporter-TzKB2FHh.cjs → AssetExporter-DsbC2rqv.cjs} +1 -1
- package/build/chunks/{AssetExporter-QnOue3VT.mjs → AssetExporter-brT7ogoM.mjs} +1 -1
- package/build/chunks/{AssetLoader-C8Teswp4.mjs → AssetLoader-B07cARjB.mjs} +510 -507
- package/build/chunks/AssetLoader-CJNVpiKM.cjs +4 -0
- package/build/chunks/FileTypes-DQE3hqoS.cjs +30 -0
- package/build/chunks/{FileTypes-CXnW0NAe.mjs → FileTypes-rkWpMg2n.mjs} +155 -205
- package/build/chunks/OrbitController-BQ6SV1O_.mjs +1159 -0
- package/build/chunks/OrbitController-CpFQ3A1H.cjs +1 -0
- package/build/chunks/PerspectiveCamera-BByyG5R4.cjs +1 -0
- package/build/chunks/PerspectiveCamera-PMJPzAn3.mjs +34 -0
- package/build/chunks/{SelectTool-DFpr9XHT.mjs → SelectTool-7pU-VXgr.mjs} +4 -4
- package/build/chunks/SelectTool-BSlKpYbt.cjs +1 -0
- package/build/chunks/VisibilityLayerMask-BI7jPKdx.cjs +1 -0
- package/build/chunks/VisibilityLayerMask-CXgt1fJc.mjs +8 -0
- package/build/chunks/isFileTypeSupported-BSpswPHU.mjs +12 -0
- package/build/chunks/isFileTypeSupported-CrEqYiv9.cjs +1 -0
- package/build/chunks/network-error-BONfHWQq.mjs +14 -0
- package/build/chunks/network-error-CdDXil5g.cjs +1 -0
- package/build/chunks/package-CX-oVoMh.mjs +39 -0
- package/build/chunks/package-CubHy4zo.cjs +1 -0
- package/build/chunks/{parse-error-BFRJyIxM.mjs → parse-error-DfOPyLWM.mjs} +3 -3
- package/build/chunks/parse-error-Dy_EE4rL.cjs +1 -0
- package/build/dive.cjs +1 -1
- package/build/dive.mjs +295 -222
- package/build/plugins/ar/index.cjs +1 -1
- package/build/plugins/ar/index.mjs +59 -54
- package/build/plugins/assetcache/index.cjs +1 -0
- package/build/plugins/assetcache/index.d.ts +2 -0
- package/build/plugins/assetcache/index.mjs +5 -0
- package/build/plugins/assetexporter/index.cjs +1 -1
- package/build/plugins/assetexporter/index.mjs +1 -1
- package/build/plugins/assetloader/index.cjs +1 -1
- package/build/plugins/assetloader/index.mjs +1 -1
- package/build/plugins/mediacreator/index.cjs +1 -1
- package/build/plugins/mediacreator/index.mjs +13 -13
- package/build/plugins/orbitcontroller/index.cjs +1 -1
- package/build/plugins/orbitcontroller/index.mjs +1 -1
- package/build/plugins/orientationdisplay/index.cjs +1 -0
- package/build/plugins/orientationdisplay/index.d.ts +2 -0
- package/build/plugins/orientationdisplay/index.mjs +5 -0
- package/build/plugins/state/index.cjs +6 -6
- package/build/plugins/state/index.mjs +728 -728
- package/build/plugins/systeminfo/index.mjs +1 -1
- package/build/plugins/toolbox/index.cjs +1 -1
- package/build/plugins/toolbox/index.mjs +12 -12
- package/build/src/components/boundingbox/BoundingBox.d.ts +136 -0
- package/build/src/components/light/AmbientLight.d.ts +3 -1
- package/build/src/components/light/SceneLight.d.ts +3 -1
- package/build/src/core/Dive.d.ts +1 -1
- package/build/src/error/file-content/file-content-error.d.ts +4 -0
- package/build/src/error/index.d.ts +4 -0
- package/build/src/error/network/network-error.d.ts +1 -1
- package/build/src/error/parse/parse-error.d.ts +2 -1
- package/build/src/events/dispatcher/EventDispatcher.d.ts +6 -0
- package/build/src/events/index.d.ts +1 -1
- package/build/src/helpers/deepClone/deepClone.d.ts +34 -0
- package/build/src/helpers/index.d.ts +5 -4
- package/build/src/index.d.ts +1 -3
- package/build/src/plugins/ar/src/error/ar-errors.d.ts +7 -1
- package/build/src/plugins/ar/src/webxr/raycaster/WebXRRaycaster.d.ts +2 -2
- package/build/src/plugins/ar/src/webxr/touchscreencontrols/WebXRTouchscreenControls.d.ts +2 -2
- package/build/src/plugins/assetcache/index.d.ts +1 -0
- package/build/src/plugins/assetcache/src/cache/AssetCache.d.ts +12 -0
- package/build/src/plugins/assetcache/src/chunk/Chunk.d.ts +16 -0
- package/build/src/plugins/assetcache/src/index.d.ts +2 -0
- package/build/src/plugins/assetloader/src/loader/AssetLoader.d.ts +7 -1
- package/build/src/plugins/mediacreator/index.d.ts +1 -0
- package/build/src/plugins/mediacreator/src/MediaCreator.d.ts +2 -2
- package/build/src/plugins/mediacreator/types/MediaGenerationById.d.ts +5 -0
- package/build/src/plugins/mediacreator/types/MediaGenerationByPosition.d.ts +7 -0
- package/build/src/plugins/mediacreator/types/MediaGenerationResolution.d.ts +4 -0
- package/build/src/plugins/mediacreator/types/index.d.ts +3 -0
- package/build/src/plugins/orbitcontroller/src/OrbitController.d.ts +17 -2
- package/build/src/plugins/orientationdisplay/index.d.ts +2 -0
- package/build/src/plugins/{axiscamera/src/AxisCamera.d.ts → orientationdisplay/src/OrientationDisplay.d.ts} +5 -5
- package/build/src/plugins/orientationdisplay/src/axes/Axes.d.ts +6 -0
- package/build/src/plugins/state/src/actions/action.d.ts +4 -4
- package/build/src/plugins/state/src/actions/media/generatemedia.d.ts +2 -18
- package/build/src/plugins/state/src/actions/toolbox/setgizmovisible.d.ts +2 -2
- package/build/src/plugins/state/types/index.d.ts +2 -0
- package/build/src/plugins/systeminfo/src/SystemInfo.d.ts +1 -1
- package/build/src/plugins/toolbox/index.d.ts +1 -0
- package/build/src/plugins/toolbox/src/Toolbox.d.ts +2 -2
- package/build/src/plugins/toolbox/src/transform/TransformTool.d.ts +1 -1
- package/build/src/plugins/toolbox/types/ToolType.d.ts +1 -0
- package/build/src/plugins/toolbox/types/index.d.ts +1 -0
- package/package.json +12 -9
- package/build/chunks/AssetLoader-BfPa_oNd.cjs +0 -4
- package/build/chunks/FileTypes-B2JRjVgw.cjs +0 -30
- package/build/chunks/OrbitController-D-WNei2f.mjs +0 -940
- package/build/chunks/OrbitController-rMX8EHvJ.cjs +0 -1
- package/build/chunks/PerspectiveCamera-CONx93im.cjs +0 -1
- package/build/chunks/PerspectiveCamera-DUiWJJIj.mjs +0 -38
- package/build/chunks/SelectTool-DVqL2ebn.cjs +0 -1
- package/build/chunks/network-error-CHvryg-4.mjs +0 -18
- package/build/chunks/network-error-D_pq8VU6.cjs +0 -1
- package/build/chunks/package-BBfJ2Cc5.cjs +0 -1
- package/build/chunks/package-CHFUaMpF.mjs +0 -39
- package/build/chunks/parse-error-Bd09D_1L.cjs +0 -1
- package/build/plugins/axiscamera/index.cjs +0 -1
- package/build/plugins/axiscamera/index.d.ts +0 -2
- package/build/plugins/axiscamera/index.mjs +0 -4
- package/build/src/events/EventExecutor.d.ts +0 -5
- package/build/src/plugins/axiscamera/index.d.ts +0 -1
package/build/dive.mjs
CHANGED
|
@@ -1,45 +1,48 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var i = (r, s, t) =>
|
|
4
|
-
import { A as
|
|
5
|
-
import { g as
|
|
6
|
-
import { U as d } from "./chunks/
|
|
7
|
-
import { C as
|
|
8
|
-
import { Object3D as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
var S = Object.defineProperty;
|
|
2
|
+
var A = (r, s, t) => s in r ? S(r, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[s] = t;
|
|
3
|
+
var i = (r, s, t) => A(r, typeof s != "symbol" ? s + "" : s, t);
|
|
4
|
+
import { A as P, b as I, c as H } from "./chunks/FileTypes-rkWpMg2n.mjs";
|
|
5
|
+
import { g as ot, f as ht, e as lt, d as ct, l as dt, r as pt, D as ut, w as ft, i as _t, j as gt, k as mt, o as Et, m as Dt, p as wt, t as yt, s as Mt, u as xt, q as Pt, v as It, n as Ht, E as bt, F as Vt, G as zt, h as vt, S as Ot, x as St } from "./chunks/FileTypes-rkWpMg2n.mjs";
|
|
6
|
+
import { U as d } from "./chunks/VisibilityLayerMask-CXgt1fJc.mjs";
|
|
7
|
+
import { C as Gt, D as Rt, H as Tt, P as Yt } from "./chunks/VisibilityLayerMask-CXgt1fJc.mjs";
|
|
8
|
+
import { Object3D as f, Color as b, Vector3 as c, TorusGeometry as V, MeshBasicMaterial as g, Mesh as p, MathUtils as v, Euler as G, CylinderGeometry as E, BoxGeometry as R, PlaneGeometry as w } from "three";
|
|
9
|
+
import { D as Ct } from "./chunks/OrbitController-BQ6SV1O_.mjs";
|
|
10
|
+
import { D as Nt, a as Xt } from "./chunks/PerspectiveCamera-PMJPzAn3.mjs";
|
|
11
|
+
import { f as Zt, i as qt } from "./chunks/findInterface-DbJ5qzbc.mjs";
|
|
12
|
+
import { g as Wt, i as kt } from "./chunks/isFileTypeSupported-BSpswPHU.mjs";
|
|
13
|
+
import { F as Kt, N as Bt } from "./chunks/network-error-BONfHWQq.mjs";
|
|
14
|
+
import { F as $t, P as te } from "./chunks/parse-error-DfOPyLWM.mjs";
|
|
15
|
+
import { i as re, a as se } from "./chunks/PovSchema-DWWvr_ED.mjs";
|
|
16
|
+
class y extends f {
|
|
17
|
+
constructor(t, e, n, o, a) {
|
|
15
18
|
super();
|
|
16
19
|
i(this, "isHoverable", !0);
|
|
17
20
|
i(this, "isDraggable", !0);
|
|
18
21
|
i(this, "parent", null);
|
|
19
22
|
i(this, "axis");
|
|
20
|
-
i(this, "_color", new
|
|
23
|
+
i(this, "_color", new b(16711935));
|
|
21
24
|
i(this, "_colorHover");
|
|
22
25
|
i(this, "_hovered");
|
|
23
26
|
i(this, "_highlight");
|
|
24
27
|
i(this, "_lineMaterial");
|
|
25
28
|
i(this, "_colliderMesh");
|
|
26
|
-
this.name = "DIVERadialHandle", this.axis = t, this._color.set(
|
|
27
|
-
const
|
|
28
|
-
this._lineMaterial = new
|
|
29
|
-
color:
|
|
29
|
+
this.name = "DIVERadialHandle", this.axis = t, this._color.set(a), this._colorHover = this._color.clone().multiplyScalar(2), this._hovered = !1, this._highlight = !1;
|
|
30
|
+
const h = new V(e, 0.01, 13, 48, n);
|
|
31
|
+
this._lineMaterial = new g({
|
|
32
|
+
color: a,
|
|
30
33
|
depthTest: !1,
|
|
31
34
|
depthWrite: !1
|
|
32
35
|
});
|
|
33
|
-
const l = new
|
|
36
|
+
const l = new p(h, this._lineMaterial);
|
|
34
37
|
l.layers.mask = d, l.renderOrder = 1 / 0, this.add(l);
|
|
35
|
-
const
|
|
38
|
+
const _ = new V(e, 0.1, 3, 48, n), D = new g({
|
|
36
39
|
color: 16711935,
|
|
37
40
|
transparent: !0,
|
|
38
41
|
opacity: 0.15,
|
|
39
42
|
depthTest: !1,
|
|
40
43
|
depthWrite: !1
|
|
41
44
|
});
|
|
42
|
-
this._colliderMesh = new _
|
|
45
|
+
this._colliderMesh = new p(_, D), this._colliderMesh.visible = !1, this._colliderMesh.layers.mask = d, this._colliderMesh.renderOrder = 1 / 0, this.add(this._colliderMesh), this.lookAt(o);
|
|
43
46
|
}
|
|
44
47
|
set debug(t) {
|
|
45
48
|
this._colliderMesh.visible = t;
|
|
@@ -51,13 +54,13 @@ class M extends u {
|
|
|
51
54
|
this._highlight = t, this._lineMaterial.color = this._highlight || this._hovered ? this._colorHover : this._color;
|
|
52
55
|
}
|
|
53
56
|
get forwardVector() {
|
|
54
|
-
return new
|
|
57
|
+
return new c(0, 0, 1).applyQuaternion(this.quaternion).normalize();
|
|
55
58
|
}
|
|
56
59
|
get rightVector() {
|
|
57
|
-
return new
|
|
60
|
+
return new c(1, 0, 0).applyQuaternion(this.quaternion).normalize();
|
|
58
61
|
}
|
|
59
62
|
get upVector() {
|
|
60
|
-
return new
|
|
63
|
+
return new c(0, 1, 0).applyQuaternion(this.quaternion).normalize();
|
|
61
64
|
}
|
|
62
65
|
reset() {
|
|
63
66
|
this._lineMaterial.color = this._color;
|
|
@@ -78,82 +81,82 @@ class M extends u {
|
|
|
78
81
|
this.parent && this.parent.onHandleDragEnd(this);
|
|
79
82
|
}
|
|
80
83
|
}
|
|
81
|
-
function
|
|
84
|
+
function u(r, s) {
|
|
82
85
|
const t = (r + "e").split("e");
|
|
83
86
|
return +(t[0] + "e" + (+t[1] + (s || 0)));
|
|
84
87
|
}
|
|
85
|
-
function
|
|
86
|
-
const t =
|
|
87
|
-
return
|
|
88
|
+
function T(r, s = 0) {
|
|
89
|
+
const t = u(r, +s);
|
|
90
|
+
return u(Math.ceil(t), -s);
|
|
88
91
|
}
|
|
89
|
-
function
|
|
90
|
-
const t =
|
|
91
|
-
return
|
|
92
|
+
function Y(r, s = 0) {
|
|
93
|
+
const t = u(r, +s);
|
|
94
|
+
return u(Math.floor(t), -s);
|
|
92
95
|
}
|
|
93
|
-
function
|
|
94
|
-
if (r < 0) return -
|
|
95
|
-
const t =
|
|
96
|
-
return
|
|
96
|
+
function O(r, s = 0) {
|
|
97
|
+
if (r < 0) return -O(-r, s);
|
|
98
|
+
const t = u(r, +s);
|
|
99
|
+
return u(Math.round(t), -s);
|
|
97
100
|
}
|
|
98
|
-
function
|
|
101
|
+
function j(r, s, t) {
|
|
99
102
|
return Math.atan2(
|
|
100
103
|
r.clone().cross(s).dot(t),
|
|
101
104
|
s.clone().dot(r)
|
|
102
105
|
);
|
|
103
106
|
}
|
|
104
|
-
function
|
|
105
|
-
const t =
|
|
106
|
-
return
|
|
107
|
+
function C(r, s = 0) {
|
|
108
|
+
const t = u(r, +s);
|
|
109
|
+
return u(Math.round(t), -s).toFixed(s);
|
|
107
110
|
}
|
|
108
111
|
function L(r, s = 0) {
|
|
109
|
-
const t =
|
|
110
|
-
return
|
|
112
|
+
const t = u(r, +s);
|
|
113
|
+
return u(Math.trunc(t), -s);
|
|
111
114
|
}
|
|
112
|
-
function
|
|
113
|
-
return (
|
|
115
|
+
function N(r) {
|
|
116
|
+
return (v.radToDeg(r) + 360) % 360;
|
|
114
117
|
}
|
|
115
118
|
function X(r) {
|
|
116
|
-
return
|
|
119
|
+
return v.degToRad(r);
|
|
117
120
|
}
|
|
118
|
-
const
|
|
119
|
-
ceilExp:
|
|
120
|
-
floorExp:
|
|
121
|
-
roundExp:
|
|
122
|
-
toFixedExp:
|
|
121
|
+
const F = {
|
|
122
|
+
ceilExp: T,
|
|
123
|
+
floorExp: Y,
|
|
124
|
+
roundExp: O,
|
|
125
|
+
toFixedExp: C,
|
|
123
126
|
truncateExp: L,
|
|
124
|
-
signedAngleTo:
|
|
125
|
-
radToDeg:
|
|
127
|
+
signedAngleTo: j,
|
|
128
|
+
radToDeg: N,
|
|
126
129
|
degToRad: X
|
|
127
130
|
};
|
|
128
|
-
class
|
|
131
|
+
class Z extends f {
|
|
129
132
|
constructor(t) {
|
|
130
133
|
super();
|
|
131
134
|
i(this, "children");
|
|
132
135
|
i(this, "_controller");
|
|
133
136
|
i(this, "_startRot");
|
|
134
137
|
this.name = "DIVERotateGizmo", this.children = [], this._startRot = null, this._controller = t, this.add(
|
|
135
|
-
new
|
|
138
|
+
new y(
|
|
136
139
|
"x",
|
|
137
140
|
1,
|
|
138
141
|
Math.PI / 2,
|
|
139
|
-
new
|
|
140
|
-
|
|
142
|
+
new c(1, 0, 0),
|
|
143
|
+
P
|
|
141
144
|
)
|
|
142
145
|
), this.add(
|
|
143
|
-
new
|
|
146
|
+
new y(
|
|
144
147
|
"y",
|
|
145
148
|
1,
|
|
146
149
|
-Math.PI / 2,
|
|
147
|
-
new
|
|
150
|
+
new c(0, 1, 0),
|
|
148
151
|
I
|
|
149
152
|
)
|
|
150
153
|
), this.add(
|
|
151
|
-
new
|
|
154
|
+
new y(
|
|
152
155
|
"z",
|
|
153
156
|
1,
|
|
154
157
|
Math.PI / 2,
|
|
155
|
-
new
|
|
156
|
-
|
|
158
|
+
new c(0, 0, 1),
|
|
159
|
+
H
|
|
157
160
|
)
|
|
158
161
|
);
|
|
159
162
|
}
|
|
@@ -167,9 +170,9 @@ class F extends u {
|
|
|
167
170
|
t.reset();
|
|
168
171
|
});
|
|
169
172
|
}
|
|
170
|
-
handleHighlight(t, e,
|
|
171
|
-
this.children.forEach((
|
|
172
|
-
|
|
173
|
+
handleHighlight(t, e, n) {
|
|
174
|
+
this.children.forEach((o) => {
|
|
175
|
+
n ? o.highlight = o.axis === t && n : o.highlight = o.axis === t && e;
|
|
173
176
|
});
|
|
174
177
|
}
|
|
175
178
|
onHandleHover(t, e) {
|
|
@@ -182,51 +185,51 @@ class F extends u {
|
|
|
182
185
|
}
|
|
183
186
|
onHandleDrag(t, e) {
|
|
184
187
|
if (!this._startRot || !this.parent || !this.parent.parent || !("onChange" in this.parent.parent)) return;
|
|
185
|
-
const
|
|
188
|
+
const n = e.dragCurrent.clone().sub(this.parent.parent.position).normalize(), o = e.dragStart.clone().sub(this.parent.parent.position).normalize(), a = F.signedAngleTo(
|
|
189
|
+
o,
|
|
186
190
|
n,
|
|
187
|
-
a,
|
|
188
191
|
t.forwardVector
|
|
189
|
-
),
|
|
190
|
-
this._startRot.x + t.forwardVector.x *
|
|
191
|
-
this._startRot.y + t.forwardVector.y *
|
|
192
|
-
this._startRot.z + t.forwardVector.z *
|
|
192
|
+
), h = new G(
|
|
193
|
+
this._startRot.x + t.forwardVector.x * a,
|
|
194
|
+
this._startRot.y + t.forwardVector.y * a,
|
|
195
|
+
this._startRot.z + t.forwardVector.z * a
|
|
193
196
|
);
|
|
194
|
-
this.parent.parent.onChange(void 0,
|
|
197
|
+
this.parent.parent.onChange(void 0, h);
|
|
195
198
|
}
|
|
196
199
|
onHandleDragEnd(t) {
|
|
197
200
|
this._startRot = null, this.handleHighlight(t.axis, !1, !1);
|
|
198
201
|
}
|
|
199
202
|
}
|
|
200
|
-
class
|
|
201
|
-
constructor(t, e,
|
|
203
|
+
class M extends f {
|
|
204
|
+
constructor(t, e, n, o) {
|
|
202
205
|
super();
|
|
203
206
|
i(this, "isHoverable", !0);
|
|
204
207
|
i(this, "isDraggable", !0);
|
|
205
208
|
i(this, "parent", null);
|
|
206
209
|
i(this, "axis");
|
|
207
|
-
i(this, "_color", new
|
|
210
|
+
i(this, "_color", new b(16711935));
|
|
208
211
|
i(this, "_colorHover");
|
|
209
212
|
i(this, "_hovered");
|
|
210
213
|
i(this, "_highlight");
|
|
211
214
|
i(this, "_lineMaterial");
|
|
212
215
|
i(this, "_colliderMesh");
|
|
213
|
-
this.name = "DIVEAxisHandle", this.axis = t, this._color.set(
|
|
214
|
-
const
|
|
215
|
-
this._lineMaterial = new
|
|
216
|
-
color:
|
|
216
|
+
this.name = "DIVEAxisHandle", this.axis = t, this._color.set(o), this._colorHover = this._color.clone().multiplyScalar(2), this._highlight = !1, this._hovered = !1;
|
|
217
|
+
const a = new E(0.01, 0.01, e, 13);
|
|
218
|
+
this._lineMaterial = new g({
|
|
219
|
+
color: o,
|
|
217
220
|
depthTest: !1,
|
|
218
221
|
depthWrite: !1
|
|
219
222
|
});
|
|
220
|
-
const
|
|
221
|
-
|
|
222
|
-
const l = new
|
|
223
|
+
const h = new p(a, this._lineMaterial);
|
|
224
|
+
h.layers.mask = d, h.renderOrder = 1 / 0, h.rotateX(Math.PI / 2), h.translateY(e / 2), this.add(h);
|
|
225
|
+
const l = new E(0.1, 0.1, e, 3), _ = new g({
|
|
223
226
|
color: 16711935,
|
|
224
227
|
transparent: !0,
|
|
225
228
|
opacity: 0.15,
|
|
226
229
|
depthTest: !1,
|
|
227
230
|
depthWrite: !1
|
|
228
231
|
});
|
|
229
|
-
this._colliderMesh = new
|
|
232
|
+
this._colliderMesh = new p(l, _), this._colliderMesh.visible = !1, this._colliderMesh.layers.mask = d, this._colliderMesh.renderOrder = 1 / 0, this._colliderMesh.rotateX(Math.PI / 2), this._colliderMesh.translateY(e / 2), this.add(this._colliderMesh), this.rotateX(n.y * -Math.PI / 2), this.rotateY(n.x * Math.PI / 2);
|
|
230
233
|
}
|
|
231
234
|
set debug(t) {
|
|
232
235
|
this._colliderMesh.visible = t;
|
|
@@ -238,13 +241,13 @@ class w extends u {
|
|
|
238
241
|
this._highlight = t, this._lineMaterial.color = this._highlight || this._hovered ? this._colorHover : this._color;
|
|
239
242
|
}
|
|
240
243
|
get forwardVector() {
|
|
241
|
-
return new
|
|
244
|
+
return new c(0, 0, 1).applyQuaternion(this.quaternion).normalize();
|
|
242
245
|
}
|
|
243
246
|
get rightVector() {
|
|
244
|
-
return new
|
|
247
|
+
return new c(1, 0, 0).applyQuaternion(this.quaternion).normalize();
|
|
245
248
|
}
|
|
246
249
|
get upVector() {
|
|
247
|
-
return new
|
|
250
|
+
return new c(0, 1, 0).applyQuaternion(this.quaternion).normalize();
|
|
248
251
|
}
|
|
249
252
|
reset() {
|
|
250
253
|
this._lineMaterial.color = this._color;
|
|
@@ -265,18 +268,18 @@ class w extends u {
|
|
|
265
268
|
this.parent && this.parent.onHandleDragEnd(this);
|
|
266
269
|
}
|
|
267
270
|
}
|
|
268
|
-
class
|
|
271
|
+
class q extends f {
|
|
269
272
|
constructor(t) {
|
|
270
273
|
super();
|
|
271
274
|
i(this, "_controller");
|
|
272
275
|
i(this, "children");
|
|
273
276
|
i(this, "_startPos");
|
|
274
277
|
this.name = "DIVETranslateGizmo", this.children = [], this._startPos = null, this._controller = t, this.add(
|
|
275
|
-
new
|
|
278
|
+
new M("x", 1, new c(1, 0, 0), P)
|
|
276
279
|
), this.add(
|
|
277
|
-
new
|
|
280
|
+
new M("y", 1, new c(0, 1, 0), I)
|
|
278
281
|
), this.add(
|
|
279
|
-
new
|
|
282
|
+
new M("z", 1, new c(0, 0, 1), H)
|
|
280
283
|
);
|
|
281
284
|
}
|
|
282
285
|
set debug(t) {
|
|
@@ -289,9 +292,9 @@ class Z extends u {
|
|
|
289
292
|
t.reset();
|
|
290
293
|
});
|
|
291
294
|
}
|
|
292
|
-
handleHighlight(t, e,
|
|
293
|
-
this.children.forEach((
|
|
294
|
-
|
|
295
|
+
handleHighlight(t, e, n) {
|
|
296
|
+
this.children.forEach((o) => {
|
|
297
|
+
n ? o.highlight = o.axis === t && n : o.highlight = o.axis === t && e;
|
|
295
298
|
});
|
|
296
299
|
}
|
|
297
300
|
onHandleHover(t, e) {
|
|
@@ -308,23 +311,23 @@ class Z extends u {
|
|
|
308
311
|
}
|
|
309
312
|
onHandleDrag(t, e) {
|
|
310
313
|
if (!this._startPos || !this.parent || !this.parent.parent || !("onChange" in this.parent.parent)) return;
|
|
311
|
-
const
|
|
314
|
+
const n = e.dragDelta.clone().projectOnVector(t.forwardVector);
|
|
312
315
|
this.parent.parent.onChange(
|
|
313
|
-
this._startPos.clone().add(
|
|
316
|
+
this._startPos.clone().add(n)
|
|
314
317
|
);
|
|
315
318
|
}
|
|
316
319
|
onHandleDragEnd(t) {
|
|
317
320
|
this._startPos = null, this.handleHighlight(t.axis, !1, !1);
|
|
318
321
|
}
|
|
319
322
|
}
|
|
320
|
-
class
|
|
321
|
-
constructor(t, e,
|
|
323
|
+
class x extends f {
|
|
324
|
+
constructor(t, e, n, o, a = 0.05) {
|
|
322
325
|
super();
|
|
323
326
|
i(this, "isHoverable", !0);
|
|
324
327
|
i(this, "isDraggable", !0);
|
|
325
328
|
i(this, "parent", null);
|
|
326
329
|
i(this, "axis");
|
|
327
|
-
i(this, "_color", new
|
|
330
|
+
i(this, "_color", new b(16711935));
|
|
328
331
|
i(this, "_colorHover");
|
|
329
332
|
i(this, "_hovered");
|
|
330
333
|
i(this, "_highlight");
|
|
@@ -332,36 +335,36 @@ class b extends u {
|
|
|
332
335
|
i(this, "_colliderMesh");
|
|
333
336
|
i(this, "_box");
|
|
334
337
|
i(this, "_boxSize");
|
|
335
|
-
this.name = "DIVEScaleHandle", this.axis = t, this._color.set(
|
|
336
|
-
const
|
|
338
|
+
this.name = "DIVEScaleHandle", this.axis = t, this._color.set(o), this._colorHover = this._color.clone().multiplyScalar(2), this._hovered = !1, this._highlight = !1, this._boxSize = a;
|
|
339
|
+
const h = new E(
|
|
337
340
|
0.01,
|
|
338
341
|
0.01,
|
|
339
|
-
e -
|
|
342
|
+
e - a / 2,
|
|
340
343
|
13
|
|
341
344
|
);
|
|
342
|
-
this._lineMaterial = new
|
|
343
|
-
color:
|
|
345
|
+
this._lineMaterial = new g({
|
|
346
|
+
color: o,
|
|
344
347
|
depthTest: !1,
|
|
345
348
|
depthWrite: !1
|
|
346
349
|
});
|
|
347
|
-
const l = new
|
|
348
|
-
l.layers.mask = d, l.renderOrder = 1 / 0, l.rotateX(Math.PI / 2), l.translateY(e / 2 -
|
|
349
|
-
new
|
|
350
|
+
const l = new p(h, this._lineMaterial);
|
|
351
|
+
l.layers.mask = d, l.renderOrder = 1 / 0, l.rotateX(Math.PI / 2), l.translateY(e / 2 - a / 4), this.add(l), this._box = new p(
|
|
352
|
+
new R(a, a, a),
|
|
350
353
|
this._lineMaterial
|
|
351
|
-
), this._box.layers.mask = d, this._box.renderOrder = 1 / 0, this._box.rotateX(Math.PI / 2), this._box.translateY(e -
|
|
352
|
-
const
|
|
354
|
+
), this._box.layers.mask = d, this._box.renderOrder = 1 / 0, this._box.rotateX(Math.PI / 2), this._box.translateY(e - a / 2), this._box.rotateZ(n.x * Math.PI / 2), this._box.rotateX(n.z * Math.PI / 2), this.add(this._box);
|
|
355
|
+
const _ = new E(
|
|
353
356
|
0.1,
|
|
354
357
|
0.1,
|
|
355
|
-
e +
|
|
358
|
+
e + a / 2,
|
|
356
359
|
3
|
|
357
|
-
),
|
|
360
|
+
), D = new g({
|
|
358
361
|
color: 16711935,
|
|
359
362
|
transparent: !0,
|
|
360
363
|
opacity: 0.15,
|
|
361
364
|
depthTest: !1,
|
|
362
365
|
depthWrite: !1
|
|
363
366
|
});
|
|
364
|
-
this._colliderMesh = new _
|
|
367
|
+
this._colliderMesh = new p(_, D), this._colliderMesh.visible = !1, this._colliderMesh.layers.mask = d, this._colliderMesh.renderOrder = 1 / 0, this._colliderMesh.rotateX(Math.PI / 2), this._colliderMesh.translateY(e / 2), this.add(this._colliderMesh), this.rotateX(n.y * -Math.PI / 2), this.rotateY(n.x * Math.PI / 2);
|
|
365
368
|
}
|
|
366
369
|
set debug(t) {
|
|
367
370
|
this._colliderMesh.visible = t;
|
|
@@ -373,20 +376,20 @@ class b extends u {
|
|
|
373
376
|
this._highlight = t, this._lineMaterial.color = this._highlight || this._hovered ? this._colorHover : this._color;
|
|
374
377
|
}
|
|
375
378
|
get forwardVector() {
|
|
376
|
-
return new
|
|
379
|
+
return new c(0, 0, 1).applyQuaternion(this.quaternion).normalize();
|
|
377
380
|
}
|
|
378
381
|
get rightVector() {
|
|
379
|
-
return new
|
|
382
|
+
return new c(1, 0, 0).applyQuaternion(this.quaternion).normalize();
|
|
380
383
|
}
|
|
381
384
|
get upVector() {
|
|
382
|
-
return new
|
|
385
|
+
return new c(0, 1, 0).applyQuaternion(this.quaternion).normalize();
|
|
383
386
|
}
|
|
384
387
|
reset() {
|
|
385
388
|
this._lineMaterial.color = this._color;
|
|
386
389
|
}
|
|
387
390
|
update(t) {
|
|
388
391
|
this._box.scale.copy(
|
|
389
|
-
new
|
|
392
|
+
new c(1, 1, 1).sub(this.forwardVector).add(
|
|
390
393
|
// to then add ...
|
|
391
394
|
t.clone().multiply(this.forwardVector)
|
|
392
395
|
// that is scaled by the forward vector again to get the forward vector as the only direction
|
|
@@ -409,7 +412,7 @@ class b extends u {
|
|
|
409
412
|
this.parent && this.parent.onAxisDragEnd(this);
|
|
410
413
|
}
|
|
411
414
|
}
|
|
412
|
-
class
|
|
415
|
+
class Q extends f {
|
|
413
416
|
constructor(t) {
|
|
414
417
|
super();
|
|
415
418
|
i(this, "isHoverable", !0);
|
|
@@ -417,11 +420,11 @@ class q extends u {
|
|
|
417
420
|
i(this, "_controller");
|
|
418
421
|
i(this, "_startScale");
|
|
419
422
|
this.name = "DIVEScaleGizmo", this.children = [], this._startScale = null, this._controller = t, this.add(
|
|
420
|
-
new
|
|
423
|
+
new x("x", 1, new c(1, 0, 0), P)
|
|
421
424
|
), this.add(
|
|
422
|
-
new
|
|
425
|
+
new x("y", 1, new c(0, 1, 0), I)
|
|
423
426
|
), this.add(
|
|
424
|
-
new
|
|
427
|
+
new x("z", 1, new c(0, 0, 1), H)
|
|
425
428
|
);
|
|
426
429
|
}
|
|
427
430
|
set debug(t) {
|
|
@@ -439,9 +442,9 @@ class q extends u {
|
|
|
439
442
|
e.update(t);
|
|
440
443
|
});
|
|
441
444
|
}
|
|
442
|
-
handleHighlight(t, e,
|
|
443
|
-
this.children.forEach((
|
|
444
|
-
|
|
445
|
+
handleHighlight(t, e, n) {
|
|
446
|
+
this.children.forEach((o) => {
|
|
447
|
+
n ? o.highlight = o.axis === t && n : o.highlight = o.axis === t && e;
|
|
445
448
|
});
|
|
446
449
|
}
|
|
447
450
|
onHoverAxis(t, e) {
|
|
@@ -458,36 +461,36 @@ class q extends u {
|
|
|
458
461
|
}
|
|
459
462
|
onAxisDrag(t, e) {
|
|
460
463
|
if (!this._startScale || !this.parent || !this.parent.parent || !("onChange" in this.parent.parent)) return;
|
|
461
|
-
const
|
|
464
|
+
const n = e.dragDelta.clone().projectOnVector(t.forwardVector);
|
|
462
465
|
this.parent.parent.onChange(
|
|
463
466
|
void 0,
|
|
464
467
|
void 0,
|
|
465
|
-
this._startScale.clone().add(
|
|
468
|
+
this._startScale.clone().add(n)
|
|
466
469
|
);
|
|
467
470
|
}
|
|
468
471
|
onAxisDragEnd(t) {
|
|
469
472
|
this._startScale = null, this.handleHighlight(t.axis, !1, !1);
|
|
470
473
|
}
|
|
471
474
|
}
|
|
472
|
-
class
|
|
475
|
+
class W extends f {
|
|
473
476
|
constructor() {
|
|
474
477
|
super();
|
|
475
478
|
i(this, "_meshX");
|
|
476
479
|
i(this, "_meshY");
|
|
477
480
|
i(this, "_meshZ");
|
|
478
481
|
this.name = "DIVEGizmoPlane";
|
|
479
|
-
const t = new
|
|
482
|
+
const t = new g({
|
|
480
483
|
transparent: !0,
|
|
481
484
|
opacity: 0.15,
|
|
482
485
|
depthTest: !1,
|
|
483
486
|
depthWrite: !1,
|
|
484
487
|
side: 2
|
|
485
|
-
}), e = new
|
|
486
|
-
|
|
487
|
-
const
|
|
488
|
-
|
|
489
|
-
const
|
|
490
|
-
l.color.set(255), this._meshZ = new
|
|
488
|
+
}), e = new w(100, 100, 2, 2), n = t.clone();
|
|
489
|
+
n.color.set(16711680), this._meshX = new p(e, n), this._meshX.layers.mask = d, this._meshX.rotateY(Math.PI / 2);
|
|
490
|
+
const o = new w(100, 100, 2, 2), a = t.clone();
|
|
491
|
+
a.color.set(65280), this._meshY = new p(o, a), this._meshY.layers.mask = d, this._meshY.rotateX(-Math.PI / 2);
|
|
492
|
+
const h = new w(100, 100, 2, 2), l = t.clone();
|
|
493
|
+
l.color.set(255), this._meshZ = new p(h, l), this._meshZ.layers.mask = d;
|
|
491
494
|
}
|
|
492
495
|
get XPlane() {
|
|
493
496
|
return this._meshX;
|
|
@@ -525,7 +528,7 @@ class Q extends u {
|
|
|
525
528
|
}
|
|
526
529
|
}
|
|
527
530
|
}
|
|
528
|
-
class
|
|
531
|
+
class J extends f {
|
|
529
532
|
constructor(t) {
|
|
530
533
|
super();
|
|
531
534
|
i(this, "_mode");
|
|
@@ -539,7 +542,7 @@ class B extends u {
|
|
|
539
542
|
this.name = "DIVEGizmo", t.addEventListener("change", () => {
|
|
540
543
|
const e = t.getDistance() / 2.5;
|
|
541
544
|
this.scale.set(e, e, e);
|
|
542
|
-
}), this._mode = "translate", this._gizmoNode = new
|
|
545
|
+
}), this._mode = "translate", this._gizmoNode = new f(), this.add(this._gizmoNode), this._translateGizmo = new q(t), this._rotateGizmo = new Z(t), this._scaleGizmo = new Q(t), this._gizmoPlane = new W(), this._gizmoPlane.visible = !1, this._object = null;
|
|
543
546
|
}
|
|
544
547
|
get mode() {
|
|
545
548
|
return this._mode;
|
|
@@ -565,27 +568,116 @@ class B extends u {
|
|
|
565
568
|
detach() {
|
|
566
569
|
return this._object = null, this.assemble(), this;
|
|
567
570
|
}
|
|
568
|
-
onHover(t, e,
|
|
569
|
-
|
|
571
|
+
onHover(t, e, n) {
|
|
572
|
+
n && this._gizmoPlane.assemble(t, e);
|
|
570
573
|
}
|
|
571
|
-
onChange(t, e,
|
|
572
|
-
this.object !== null && (t && (this.position.copy(t), this.object.position.copy(t)), e && this.object.rotation.copy(e),
|
|
574
|
+
onChange(t, e, n) {
|
|
575
|
+
this.object !== null && (t && (this.position.copy(t), this.object.position.copy(t)), e && this.object.rotation.copy(e), n && (this.object.scale.copy(n), this._scaleGizmo.update(n)));
|
|
573
576
|
}
|
|
574
577
|
assemble() {
|
|
575
578
|
this._gizmoNode.clear(), this._gizmoPlane.clear(), this._translateGizmo.reset(), this._rotateGizmo.reset(), this._scaleGizmo.reset(), this.object !== null && (this._mode === "translate" && this._gizmoNode.add(this._translateGizmo), this._mode === "rotate" && this._gizmoNode.add(this._rotateGizmo), this._mode === "scale" && this._gizmoNode.add(this._scaleGizmo), this.add(this._gizmoPlane));
|
|
576
579
|
}
|
|
577
580
|
}
|
|
578
|
-
class
|
|
581
|
+
class $ {
|
|
579
582
|
constructor() {
|
|
580
583
|
i(this, "isMovable", !0);
|
|
581
584
|
}
|
|
582
585
|
}
|
|
583
|
-
class
|
|
586
|
+
class tt {
|
|
584
587
|
constructor() {
|
|
585
588
|
i(this, "isSelectable", !0);
|
|
586
589
|
}
|
|
587
590
|
}
|
|
588
|
-
|
|
591
|
+
function et(r, s) {
|
|
592
|
+
return s.forEach((t) => {
|
|
593
|
+
Object.getOwnPropertyNames(t.prototype).forEach((n) => {
|
|
594
|
+
if (n === "constructor")
|
|
595
|
+
return;
|
|
596
|
+
const o = Object.getOwnPropertyDescriptor(
|
|
597
|
+
t.prototype,
|
|
598
|
+
n
|
|
599
|
+
);
|
|
600
|
+
Object.defineProperty(r.prototype, n, o);
|
|
601
|
+
});
|
|
602
|
+
const e = new t();
|
|
603
|
+
Object.getOwnPropertyNames(e).forEach((n) => {
|
|
604
|
+
const o = Object.getOwnPropertyDescriptor(
|
|
605
|
+
e,
|
|
606
|
+
n
|
|
607
|
+
);
|
|
608
|
+
Object.defineProperty(r.prototype, n, o);
|
|
609
|
+
});
|
|
610
|
+
}), r;
|
|
611
|
+
}
|
|
612
|
+
function m(r, s = /* @__PURE__ */ new WeakMap()) {
|
|
613
|
+
if (r === null || typeof r != "object")
|
|
614
|
+
return r;
|
|
615
|
+
if (s.has(r))
|
|
616
|
+
return s.get(r);
|
|
617
|
+
if (r instanceof Date)
|
|
618
|
+
return new Date(r.getTime());
|
|
619
|
+
if (r instanceof RegExp)
|
|
620
|
+
return new RegExp(r.source, r.flags);
|
|
621
|
+
if (Array.isArray(r)) {
|
|
622
|
+
const a = [];
|
|
623
|
+
s.set(r, a);
|
|
624
|
+
for (let h = 0; h < r.length; h++)
|
|
625
|
+
a[h] = m(r[h], s);
|
|
626
|
+
return a;
|
|
627
|
+
}
|
|
628
|
+
if (r instanceof Map) {
|
|
629
|
+
const a = /* @__PURE__ */ new Map();
|
|
630
|
+
s.set(r, a);
|
|
631
|
+
for (const [
|
|
632
|
+
h,
|
|
633
|
+
l
|
|
634
|
+
] of r)
|
|
635
|
+
a.set(m(h, s), m(l, s));
|
|
636
|
+
return a;
|
|
637
|
+
}
|
|
638
|
+
if (r instanceof Set) {
|
|
639
|
+
const a = /* @__PURE__ */ new Set();
|
|
640
|
+
s.set(r, a);
|
|
641
|
+
for (const h of r)
|
|
642
|
+
a.add(m(h, s));
|
|
643
|
+
return a;
|
|
644
|
+
}
|
|
645
|
+
const t = r;
|
|
646
|
+
if (typeof t.clone == "function") {
|
|
647
|
+
const a = t.clone();
|
|
648
|
+
return s.set(r, a), a;
|
|
649
|
+
}
|
|
650
|
+
const e = Object.create(Object.getPrototypeOf(r));
|
|
651
|
+
s.set(r, e);
|
|
652
|
+
const n = Object.getOwnPropertyNames(r);
|
|
653
|
+
for (const a of n) {
|
|
654
|
+
const h = Object.getOwnPropertyDescriptor(r, a);
|
|
655
|
+
if (h)
|
|
656
|
+
if (h.value !== void 0) {
|
|
657
|
+
const l = m(h.value, s);
|
|
658
|
+
Object.defineProperty(e, a, {
|
|
659
|
+
...h,
|
|
660
|
+
value: l
|
|
661
|
+
});
|
|
662
|
+
} else
|
|
663
|
+
Object.defineProperty(e, a, h);
|
|
664
|
+
}
|
|
665
|
+
const o = Object.getOwnPropertySymbols(r);
|
|
666
|
+
for (const a of o) {
|
|
667
|
+
const h = Object.getOwnPropertyDescriptor(r, a);
|
|
668
|
+
if (h)
|
|
669
|
+
if (h.value !== void 0) {
|
|
670
|
+
const l = m(h.value, s);
|
|
671
|
+
Object.defineProperty(e, a, {
|
|
672
|
+
...h,
|
|
673
|
+
value: l
|
|
674
|
+
});
|
|
675
|
+
} else
|
|
676
|
+
Object.defineProperty(e, a, h);
|
|
677
|
+
}
|
|
678
|
+
return e;
|
|
679
|
+
}
|
|
680
|
+
const z = (r, s) => {
|
|
589
681
|
if (Object.keys(r).length === 0 && Object.keys(s).length === 0)
|
|
590
682
|
return {};
|
|
591
683
|
if (typeof r != "object" || typeof s != "object")
|
|
@@ -601,24 +693,24 @@ const V = (r, s) => {
|
|
|
601
693
|
t = { ...t, [e]: s[e] };
|
|
602
694
|
return;
|
|
603
695
|
}
|
|
604
|
-
const
|
|
605
|
-
if (
|
|
696
|
+
const n = r[e], o = s[e];
|
|
697
|
+
if (n.length === 0 && o.length === 0) {
|
|
606
698
|
t = { ...t };
|
|
607
699
|
return;
|
|
608
700
|
}
|
|
609
|
-
if (
|
|
701
|
+
if (n.length !== o.length) {
|
|
610
702
|
t = { ...t, [e]: s[e] };
|
|
611
703
|
return;
|
|
612
704
|
}
|
|
613
|
-
const
|
|
614
|
-
if (
|
|
615
|
-
const
|
|
616
|
-
|
|
617
|
-
|
|
705
|
+
const a = [];
|
|
706
|
+
if (o.forEach((h, l) => {
|
|
707
|
+
const _ = z(
|
|
708
|
+
n[l],
|
|
709
|
+
o[l]
|
|
618
710
|
);
|
|
619
|
-
Object.keys(
|
|
620
|
-
}), Object.keys(
|
|
621
|
-
t = { ...t, [e]:
|
|
711
|
+
Object.keys(_).length && a.push(o[l]);
|
|
712
|
+
}), Object.keys(a).length) {
|
|
713
|
+
t = { ...t, [e]: a };
|
|
622
714
|
return;
|
|
623
715
|
}
|
|
624
716
|
return;
|
|
@@ -628,102 +720,83 @@ const V = (r, s) => {
|
|
|
628
720
|
t = { ...t, [e]: s[e] };
|
|
629
721
|
return;
|
|
630
722
|
}
|
|
631
|
-
const
|
|
723
|
+
const n = z(
|
|
632
724
|
r[e],
|
|
633
725
|
s[e]
|
|
634
726
|
);
|
|
635
|
-
if (Object.keys(
|
|
636
|
-
t = { ...t, [e]:
|
|
727
|
+
if (Object.keys(n).length) {
|
|
728
|
+
t = { ...t, [e]: n };
|
|
637
729
|
return;
|
|
638
730
|
}
|
|
639
731
|
}
|
|
640
732
|
r[e] !== s[e] && (t = { ...t, [e]: s[e] });
|
|
641
733
|
}), t;
|
|
642
734
|
};
|
|
643
|
-
function
|
|
644
|
-
return s.forEach((t) => {
|
|
645
|
-
Object.getOwnPropertyNames(t.prototype).forEach((a) => {
|
|
646
|
-
if (a === "constructor")
|
|
647
|
-
return;
|
|
648
|
-
const n = Object.getOwnPropertyDescriptor(
|
|
649
|
-
t.prototype,
|
|
650
|
-
a
|
|
651
|
-
);
|
|
652
|
-
Object.defineProperty(r.prototype, a, n);
|
|
653
|
-
});
|
|
654
|
-
const e = new t();
|
|
655
|
-
Object.getOwnPropertyNames(e).forEach((a) => {
|
|
656
|
-
const n = Object.getOwnPropertyDescriptor(
|
|
657
|
-
e,
|
|
658
|
-
a
|
|
659
|
-
);
|
|
660
|
-
Object.defineProperty(r.prototype, a, n);
|
|
661
|
-
});
|
|
662
|
-
}), r;
|
|
663
|
-
}
|
|
664
|
-
function et(r) {
|
|
735
|
+
function rt(r) {
|
|
665
736
|
return r.entityType === "group";
|
|
666
737
|
}
|
|
667
|
-
function
|
|
738
|
+
function st(r) {
|
|
668
739
|
return r.entityType === "light";
|
|
669
740
|
}
|
|
670
741
|
function it(r) {
|
|
671
742
|
return r.entityType === "primitive";
|
|
672
743
|
}
|
|
673
744
|
export {
|
|
674
|
-
|
|
675
|
-
|
|
745
|
+
H as AxesColorBlue,
|
|
746
|
+
ot as AxesColorBlueLetter,
|
|
676
747
|
I as AxesColorGreen,
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
748
|
+
ht as AxesColorGreenLetter,
|
|
749
|
+
P as AxesColorRed,
|
|
750
|
+
lt as AxesColorRedLetter,
|
|
751
|
+
Gt as COORDINATE_LAYER_MASK,
|
|
752
|
+
Rt as DEFAULT_LAYER_MASK,
|
|
753
|
+
ct as DIVE,
|
|
754
|
+
dt as DIVEAmbientLight,
|
|
755
|
+
pt as DIVEClock,
|
|
756
|
+
ut as DIVEDefaultSettings,
|
|
757
|
+
ft as DIVEEngine,
|
|
758
|
+
_t as DIVEFloor,
|
|
759
|
+
J as DIVEGizmo,
|
|
689
760
|
gt as DIVEGrid,
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
761
|
+
mt as DIVEGroup,
|
|
762
|
+
F as DIVEMath,
|
|
763
|
+
Et as DIVEModel,
|
|
764
|
+
$ as DIVEMovable,
|
|
765
|
+
Ct as DIVENode,
|
|
766
|
+
Nt as DIVEPerspectiveCamera,
|
|
767
|
+
Xt as DIVEPerspectiveCameraDefaultSettings,
|
|
697
768
|
Dt as DIVEPointLight,
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
769
|
+
wt as DIVEPrimitive,
|
|
770
|
+
yt as DIVERenderPipeline,
|
|
771
|
+
Mt as DIVERenderPipelineDefaultSettings,
|
|
701
772
|
xt as DIVEResizeManager,
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
773
|
+
Pt as DIVERoot,
|
|
774
|
+
It as DIVEScene,
|
|
775
|
+
Ht as DIVESceneLight,
|
|
776
|
+
tt as DIVESelectable,
|
|
777
|
+
bt as EngineDefaultSettings,
|
|
707
778
|
Vt as FILE_TYPES,
|
|
708
|
-
|
|
779
|
+
Kt as FileContentError,
|
|
780
|
+
$t as FileTypeError,
|
|
709
781
|
zt as GRID_CENTER_LINE_COLOR,
|
|
710
782
|
vt as GRID_SIDE_LINE_COLOR,
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
783
|
+
Tt as HELPER_LAYER_MASK,
|
|
784
|
+
Bt as NetworkError,
|
|
785
|
+
Yt as PRODUCT_LAYER_MASK,
|
|
786
|
+
te as ParseError,
|
|
787
|
+
Ot as SUPPORTED_FILE_TYPES,
|
|
716
788
|
d as UI_LAYER_MASK,
|
|
717
|
-
|
|
718
|
-
|
|
789
|
+
et as applyMixins,
|
|
790
|
+
m as deepClone,
|
|
791
|
+
Zt as findInterface,
|
|
719
792
|
St as findSceneRecursive,
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
793
|
+
Wt as getFileTypeFromUri,
|
|
794
|
+
z as getObjectDelta,
|
|
795
|
+
qt as implementsInterface,
|
|
796
|
+
kt as isFileTypeSupported,
|
|
797
|
+
rt as isGroupSchema,
|
|
798
|
+
st as isLightSchema,
|
|
799
|
+
re as isModelSchema,
|
|
800
|
+
se as isPovSchema,
|
|
728
801
|
it as isPrimitiveSchema
|
|
729
802
|
};
|