@shopware-ag/dive 2.0.1-beta.9 → 2.0.2
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-CiC4wZkh.mjs +79 -0
- package/build/chunks/AssetCache-CuVztq_7.cjs +1 -0
- package/build/chunks/{AssetExporter-Ds2dAfxL.cjs → AssetExporter-DsbC2rqv.cjs} +18 -18
- package/build/chunks/{AssetExporter-CcSkkmZL.mjs → AssetExporter-brT7ogoM.mjs} +3 -4
- package/build/chunks/AssetLoader-DUhBw4FF.cjs +4 -0
- package/build/chunks/{AssetLoader-DjHz5xWK.mjs → AssetLoader-o_4syRGj.mjs} +32 -26
- package/build/chunks/FileTypes-B2VTJIm5.cjs +30 -0
- package/build/chunks/{FileTypes-Cu4s3c_0.mjs → FileTypes-C8pTXmiC.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-w7sF1obN.mjs → SelectTool-6ZRGPwYE.mjs} +4 -4
- package/build/chunks/SelectTool-B1awJ9PA.cjs +1 -0
- package/build/chunks/VisibilityLayerMask-BI7jPKdx.cjs +1 -0
- package/build/chunks/VisibilityLayerMask-CXgt1fJc.mjs +8 -0
- package/build/chunks/package-AmvzOXm_.cjs +1 -0
- package/build/chunks/package-BrpVRfq7.mjs +39 -0
- package/build/chunks/parse-error-DfOPyLWM.mjs +14 -0
- package/build/chunks/parse-error-Dy_EE4rL.cjs +1 -0
- package/build/dive.cjs +1 -1
- package/build/dive.mjs +293 -223
- package/build/plugins/ar/index.cjs +1 -1
- package/build/plugins/ar/index.mjs +2 -2
- package/build/plugins/assetcache/index.cjs +1 -1
- package/build/plugins/assetcache/index.mjs +1 -1
- 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/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/helpers/deepClone/deepClone.d.ts +34 -0
- package/build/src/helpers/index.d.ts +5 -4
- 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/src/cache/AssetCache.d.ts +5 -4
- package/build/src/plugins/assetcache/src/chunk/Chunk.d.ts +4 -7
- package/build/src/plugins/assetloader/src/loader/AssetLoader.d.ts +7 -0
- 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/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 +7 -9
- package/build/chunks/AssetCache-CWeKL4PT.cjs +0 -1
- package/build/chunks/AssetCache-Y5G3mQU1.mjs +0 -84
- package/build/chunks/AssetLoader-CMKzMJ1u.cjs +0 -4
- package/build/chunks/FileTypes-CKOjpHjz.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-BD6Ccy_2.cjs +0 -1
- package/build/chunks/file-type-error-BsK7IJt7.cjs +0 -1
- package/build/chunks/file-type-error-aWHfMumr.mjs +0 -8
- package/build/chunks/package-DXbIn_zz.mjs +0 -39
- package/build/chunks/package-DaKgG9tF.cjs +0 -1
- package/build/chunks/parse-error-IryNa_oq.mjs +0 -8
- package/build/chunks/parse-error-m5cNt1UV.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/plugins/axiscamera/index.d.ts +0 -1
package/build/dive.mjs
CHANGED
|
@@ -1,47 +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 {
|
|
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-C8pTXmiC.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-C8pTXmiC.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";
|
|
10
11
|
import { f as Zt, i as qt } from "./chunks/findInterface-DbJ5qzbc.mjs";
|
|
11
|
-
import {
|
|
12
|
-
import { F as Kt } from "./chunks/
|
|
13
|
-
import { P as
|
|
14
|
-
import { i as
|
|
15
|
-
class
|
|
16
|
-
constructor(t, e,
|
|
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) {
|
|
17
18
|
super();
|
|
18
19
|
i(this, "isHoverable", !0);
|
|
19
20
|
i(this, "isDraggable", !0);
|
|
20
21
|
i(this, "parent", null);
|
|
21
22
|
i(this, "axis");
|
|
22
|
-
i(this, "_color", new
|
|
23
|
+
i(this, "_color", new b(16711935));
|
|
23
24
|
i(this, "_colorHover");
|
|
24
25
|
i(this, "_hovered");
|
|
25
26
|
i(this, "_highlight");
|
|
26
27
|
i(this, "_lineMaterial");
|
|
27
28
|
i(this, "_colliderMesh");
|
|
28
|
-
this.name = "DIVERadialHandle", this.axis = t, this._color.set(
|
|
29
|
-
const
|
|
30
|
-
this._lineMaterial = new
|
|
31
|
-
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,
|
|
32
33
|
depthTest: !1,
|
|
33
34
|
depthWrite: !1
|
|
34
35
|
});
|
|
35
|
-
const l = new
|
|
36
|
+
const l = new p(h, this._lineMaterial);
|
|
36
37
|
l.layers.mask = d, l.renderOrder = 1 / 0, this.add(l);
|
|
37
|
-
const
|
|
38
|
+
const _ = new V(e, 0.1, 3, 48, n), D = new g({
|
|
38
39
|
color: 16711935,
|
|
39
40
|
transparent: !0,
|
|
40
41
|
opacity: 0.15,
|
|
41
42
|
depthTest: !1,
|
|
42
43
|
depthWrite: !1
|
|
43
44
|
});
|
|
44
|
-
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);
|
|
45
46
|
}
|
|
46
47
|
set debug(t) {
|
|
47
48
|
this._colliderMesh.visible = t;
|
|
@@ -53,13 +54,13 @@ class M extends u {
|
|
|
53
54
|
this._highlight = t, this._lineMaterial.color = this._highlight || this._hovered ? this._colorHover : this._color;
|
|
54
55
|
}
|
|
55
56
|
get forwardVector() {
|
|
56
|
-
return new
|
|
57
|
+
return new c(0, 0, 1).applyQuaternion(this.quaternion).normalize();
|
|
57
58
|
}
|
|
58
59
|
get rightVector() {
|
|
59
|
-
return new
|
|
60
|
+
return new c(1, 0, 0).applyQuaternion(this.quaternion).normalize();
|
|
60
61
|
}
|
|
61
62
|
get upVector() {
|
|
62
|
-
return new
|
|
63
|
+
return new c(0, 1, 0).applyQuaternion(this.quaternion).normalize();
|
|
63
64
|
}
|
|
64
65
|
reset() {
|
|
65
66
|
this._lineMaterial.color = this._color;
|
|
@@ -80,82 +81,82 @@ class M extends u {
|
|
|
80
81
|
this.parent && this.parent.onHandleDragEnd(this);
|
|
81
82
|
}
|
|
82
83
|
}
|
|
83
|
-
function
|
|
84
|
+
function u(r, s) {
|
|
84
85
|
const t = (r + "e").split("e");
|
|
85
86
|
return +(t[0] + "e" + (+t[1] + (s || 0)));
|
|
86
87
|
}
|
|
87
|
-
function
|
|
88
|
-
const t =
|
|
89
|
-
return
|
|
88
|
+
function T(r, s = 0) {
|
|
89
|
+
const t = u(r, +s);
|
|
90
|
+
return u(Math.ceil(t), -s);
|
|
90
91
|
}
|
|
91
|
-
function
|
|
92
|
-
const t =
|
|
93
|
-
return
|
|
92
|
+
function Y(r, s = 0) {
|
|
93
|
+
const t = u(r, +s);
|
|
94
|
+
return u(Math.floor(t), -s);
|
|
94
95
|
}
|
|
95
|
-
function
|
|
96
|
-
if (r < 0) return -
|
|
97
|
-
const t =
|
|
98
|
-
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);
|
|
99
100
|
}
|
|
100
|
-
function
|
|
101
|
+
function j(r, s, t) {
|
|
101
102
|
return Math.atan2(
|
|
102
103
|
r.clone().cross(s).dot(t),
|
|
103
104
|
s.clone().dot(r)
|
|
104
105
|
);
|
|
105
106
|
}
|
|
106
|
-
function
|
|
107
|
-
const t =
|
|
108
|
-
return
|
|
107
|
+
function C(r, s = 0) {
|
|
108
|
+
const t = u(r, +s);
|
|
109
|
+
return u(Math.round(t), -s).toFixed(s);
|
|
109
110
|
}
|
|
110
111
|
function L(r, s = 0) {
|
|
111
|
-
const t =
|
|
112
|
-
return
|
|
112
|
+
const t = u(r, +s);
|
|
113
|
+
return u(Math.trunc(t), -s);
|
|
113
114
|
}
|
|
114
|
-
function
|
|
115
|
-
return (
|
|
115
|
+
function N(r) {
|
|
116
|
+
return (v.radToDeg(r) + 360) % 360;
|
|
116
117
|
}
|
|
117
118
|
function X(r) {
|
|
118
|
-
return
|
|
119
|
+
return v.degToRad(r);
|
|
119
120
|
}
|
|
120
|
-
const
|
|
121
|
-
ceilExp:
|
|
122
|
-
floorExp:
|
|
123
|
-
roundExp:
|
|
124
|
-
toFixedExp:
|
|
121
|
+
const F = {
|
|
122
|
+
ceilExp: T,
|
|
123
|
+
floorExp: Y,
|
|
124
|
+
roundExp: O,
|
|
125
|
+
toFixedExp: C,
|
|
125
126
|
truncateExp: L,
|
|
126
|
-
signedAngleTo:
|
|
127
|
-
radToDeg:
|
|
127
|
+
signedAngleTo: j,
|
|
128
|
+
radToDeg: N,
|
|
128
129
|
degToRad: X
|
|
129
130
|
};
|
|
130
|
-
class
|
|
131
|
+
class Z extends f {
|
|
131
132
|
constructor(t) {
|
|
132
133
|
super();
|
|
133
134
|
i(this, "children");
|
|
134
135
|
i(this, "_controller");
|
|
135
136
|
i(this, "_startRot");
|
|
136
137
|
this.name = "DIVERotateGizmo", this.children = [], this._startRot = null, this._controller = t, this.add(
|
|
137
|
-
new
|
|
138
|
+
new y(
|
|
138
139
|
"x",
|
|
139
140
|
1,
|
|
140
141
|
Math.PI / 2,
|
|
141
|
-
new
|
|
142
|
-
|
|
142
|
+
new c(1, 0, 0),
|
|
143
|
+
P
|
|
143
144
|
)
|
|
144
145
|
), this.add(
|
|
145
|
-
new
|
|
146
|
+
new y(
|
|
146
147
|
"y",
|
|
147
148
|
1,
|
|
148
149
|
-Math.PI / 2,
|
|
149
|
-
new
|
|
150
|
+
new c(0, 1, 0),
|
|
150
151
|
I
|
|
151
152
|
)
|
|
152
153
|
), this.add(
|
|
153
|
-
new
|
|
154
|
+
new y(
|
|
154
155
|
"z",
|
|
155
156
|
1,
|
|
156
157
|
Math.PI / 2,
|
|
157
|
-
new
|
|
158
|
-
|
|
158
|
+
new c(0, 0, 1),
|
|
159
|
+
H
|
|
159
160
|
)
|
|
160
161
|
);
|
|
161
162
|
}
|
|
@@ -169,9 +170,9 @@ class F extends u {
|
|
|
169
170
|
t.reset();
|
|
170
171
|
});
|
|
171
172
|
}
|
|
172
|
-
handleHighlight(t, e,
|
|
173
|
-
this.children.forEach((
|
|
174
|
-
|
|
173
|
+
handleHighlight(t, e, n) {
|
|
174
|
+
this.children.forEach((o) => {
|
|
175
|
+
n ? o.highlight = o.axis === t && n : o.highlight = o.axis === t && e;
|
|
175
176
|
});
|
|
176
177
|
}
|
|
177
178
|
onHandleHover(t, e) {
|
|
@@ -184,51 +185,51 @@ class F extends u {
|
|
|
184
185
|
}
|
|
185
186
|
onHandleDrag(t, e) {
|
|
186
187
|
if (!this._startRot || !this.parent || !this.parent.parent || !("onChange" in this.parent.parent)) return;
|
|
187
|
-
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,
|
|
188
190
|
n,
|
|
189
|
-
a,
|
|
190
191
|
t.forwardVector
|
|
191
|
-
),
|
|
192
|
-
this._startRot.x + t.forwardVector.x *
|
|
193
|
-
this._startRot.y + t.forwardVector.y *
|
|
194
|
-
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
|
|
195
196
|
);
|
|
196
|
-
this.parent.parent.onChange(void 0,
|
|
197
|
+
this.parent.parent.onChange(void 0, h);
|
|
197
198
|
}
|
|
198
199
|
onHandleDragEnd(t) {
|
|
199
200
|
this._startRot = null, this.handleHighlight(t.axis, !1, !1);
|
|
200
201
|
}
|
|
201
202
|
}
|
|
202
|
-
class
|
|
203
|
-
constructor(t, e,
|
|
203
|
+
class M extends f {
|
|
204
|
+
constructor(t, e, n, o) {
|
|
204
205
|
super();
|
|
205
206
|
i(this, "isHoverable", !0);
|
|
206
207
|
i(this, "isDraggable", !0);
|
|
207
208
|
i(this, "parent", null);
|
|
208
209
|
i(this, "axis");
|
|
209
|
-
i(this, "_color", new
|
|
210
|
+
i(this, "_color", new b(16711935));
|
|
210
211
|
i(this, "_colorHover");
|
|
211
212
|
i(this, "_hovered");
|
|
212
213
|
i(this, "_highlight");
|
|
213
214
|
i(this, "_lineMaterial");
|
|
214
215
|
i(this, "_colliderMesh");
|
|
215
|
-
this.name = "DIVEAxisHandle", this.axis = t, this._color.set(
|
|
216
|
-
const
|
|
217
|
-
this._lineMaterial = new
|
|
218
|
-
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,
|
|
219
220
|
depthTest: !1,
|
|
220
221
|
depthWrite: !1
|
|
221
222
|
});
|
|
222
|
-
const
|
|
223
|
-
|
|
224
|
-
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({
|
|
225
226
|
color: 16711935,
|
|
226
227
|
transparent: !0,
|
|
227
228
|
opacity: 0.15,
|
|
228
229
|
depthTest: !1,
|
|
229
230
|
depthWrite: !1
|
|
230
231
|
});
|
|
231
|
-
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);
|
|
232
233
|
}
|
|
233
234
|
set debug(t) {
|
|
234
235
|
this._colliderMesh.visible = t;
|
|
@@ -240,13 +241,13 @@ class w extends u {
|
|
|
240
241
|
this._highlight = t, this._lineMaterial.color = this._highlight || this._hovered ? this._colorHover : this._color;
|
|
241
242
|
}
|
|
242
243
|
get forwardVector() {
|
|
243
|
-
return new
|
|
244
|
+
return new c(0, 0, 1).applyQuaternion(this.quaternion).normalize();
|
|
244
245
|
}
|
|
245
246
|
get rightVector() {
|
|
246
|
-
return new
|
|
247
|
+
return new c(1, 0, 0).applyQuaternion(this.quaternion).normalize();
|
|
247
248
|
}
|
|
248
249
|
get upVector() {
|
|
249
|
-
return new
|
|
250
|
+
return new c(0, 1, 0).applyQuaternion(this.quaternion).normalize();
|
|
250
251
|
}
|
|
251
252
|
reset() {
|
|
252
253
|
this._lineMaterial.color = this._color;
|
|
@@ -267,18 +268,18 @@ class w extends u {
|
|
|
267
268
|
this.parent && this.parent.onHandleDragEnd(this);
|
|
268
269
|
}
|
|
269
270
|
}
|
|
270
|
-
class
|
|
271
|
+
class q extends f {
|
|
271
272
|
constructor(t) {
|
|
272
273
|
super();
|
|
273
274
|
i(this, "_controller");
|
|
274
275
|
i(this, "children");
|
|
275
276
|
i(this, "_startPos");
|
|
276
277
|
this.name = "DIVETranslateGizmo", this.children = [], this._startPos = null, this._controller = t, this.add(
|
|
277
|
-
new
|
|
278
|
+
new M("x", 1, new c(1, 0, 0), P)
|
|
278
279
|
), this.add(
|
|
279
|
-
new
|
|
280
|
+
new M("y", 1, new c(0, 1, 0), I)
|
|
280
281
|
), this.add(
|
|
281
|
-
new
|
|
282
|
+
new M("z", 1, new c(0, 0, 1), H)
|
|
282
283
|
);
|
|
283
284
|
}
|
|
284
285
|
set debug(t) {
|
|
@@ -291,9 +292,9 @@ class Z extends u {
|
|
|
291
292
|
t.reset();
|
|
292
293
|
});
|
|
293
294
|
}
|
|
294
|
-
handleHighlight(t, e,
|
|
295
|
-
this.children.forEach((
|
|
296
|
-
|
|
295
|
+
handleHighlight(t, e, n) {
|
|
296
|
+
this.children.forEach((o) => {
|
|
297
|
+
n ? o.highlight = o.axis === t && n : o.highlight = o.axis === t && e;
|
|
297
298
|
});
|
|
298
299
|
}
|
|
299
300
|
onHandleHover(t, e) {
|
|
@@ -310,23 +311,23 @@ class Z extends u {
|
|
|
310
311
|
}
|
|
311
312
|
onHandleDrag(t, e) {
|
|
312
313
|
if (!this._startPos || !this.parent || !this.parent.parent || !("onChange" in this.parent.parent)) return;
|
|
313
|
-
const
|
|
314
|
+
const n = e.dragDelta.clone().projectOnVector(t.forwardVector);
|
|
314
315
|
this.parent.parent.onChange(
|
|
315
|
-
this._startPos.clone().add(
|
|
316
|
+
this._startPos.clone().add(n)
|
|
316
317
|
);
|
|
317
318
|
}
|
|
318
319
|
onHandleDragEnd(t) {
|
|
319
320
|
this._startPos = null, this.handleHighlight(t.axis, !1, !1);
|
|
320
321
|
}
|
|
321
322
|
}
|
|
322
|
-
class x extends
|
|
323
|
-
constructor(t, e,
|
|
323
|
+
class x extends f {
|
|
324
|
+
constructor(t, e, n, o, a = 0.05) {
|
|
324
325
|
super();
|
|
325
326
|
i(this, "isHoverable", !0);
|
|
326
327
|
i(this, "isDraggable", !0);
|
|
327
328
|
i(this, "parent", null);
|
|
328
329
|
i(this, "axis");
|
|
329
|
-
i(this, "_color", new
|
|
330
|
+
i(this, "_color", new b(16711935));
|
|
330
331
|
i(this, "_colorHover");
|
|
331
332
|
i(this, "_hovered");
|
|
332
333
|
i(this, "_highlight");
|
|
@@ -334,36 +335,36 @@ class x extends u {
|
|
|
334
335
|
i(this, "_colliderMesh");
|
|
335
336
|
i(this, "_box");
|
|
336
337
|
i(this, "_boxSize");
|
|
337
|
-
this.name = "DIVEScaleHandle", this.axis = t, this._color.set(
|
|
338
|
-
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(
|
|
339
340
|
0.01,
|
|
340
341
|
0.01,
|
|
341
|
-
e -
|
|
342
|
+
e - a / 2,
|
|
342
343
|
13
|
|
343
344
|
);
|
|
344
|
-
this._lineMaterial = new
|
|
345
|
-
color:
|
|
345
|
+
this._lineMaterial = new g({
|
|
346
|
+
color: o,
|
|
346
347
|
depthTest: !1,
|
|
347
348
|
depthWrite: !1
|
|
348
349
|
});
|
|
349
|
-
const l = new
|
|
350
|
-
l.layers.mask = d, l.renderOrder = 1 / 0, l.rotateX(Math.PI / 2), l.translateY(e / 2 -
|
|
351
|
-
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),
|
|
352
353
|
this._lineMaterial
|
|
353
|
-
), this._box.layers.mask = d, this._box.renderOrder = 1 / 0, this._box.rotateX(Math.PI / 2), this._box.translateY(e -
|
|
354
|
-
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(
|
|
355
356
|
0.1,
|
|
356
357
|
0.1,
|
|
357
|
-
e +
|
|
358
|
+
e + a / 2,
|
|
358
359
|
3
|
|
359
|
-
),
|
|
360
|
+
), D = new g({
|
|
360
361
|
color: 16711935,
|
|
361
362
|
transparent: !0,
|
|
362
363
|
opacity: 0.15,
|
|
363
364
|
depthTest: !1,
|
|
364
365
|
depthWrite: !1
|
|
365
366
|
});
|
|
366
|
-
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);
|
|
367
368
|
}
|
|
368
369
|
set debug(t) {
|
|
369
370
|
this._colliderMesh.visible = t;
|
|
@@ -375,20 +376,20 @@ class x extends u {
|
|
|
375
376
|
this._highlight = t, this._lineMaterial.color = this._highlight || this._hovered ? this._colorHover : this._color;
|
|
376
377
|
}
|
|
377
378
|
get forwardVector() {
|
|
378
|
-
return new
|
|
379
|
+
return new c(0, 0, 1).applyQuaternion(this.quaternion).normalize();
|
|
379
380
|
}
|
|
380
381
|
get rightVector() {
|
|
381
|
-
return new
|
|
382
|
+
return new c(1, 0, 0).applyQuaternion(this.quaternion).normalize();
|
|
382
383
|
}
|
|
383
384
|
get upVector() {
|
|
384
|
-
return new
|
|
385
|
+
return new c(0, 1, 0).applyQuaternion(this.quaternion).normalize();
|
|
385
386
|
}
|
|
386
387
|
reset() {
|
|
387
388
|
this._lineMaterial.color = this._color;
|
|
388
389
|
}
|
|
389
390
|
update(t) {
|
|
390
391
|
this._box.scale.copy(
|
|
391
|
-
new
|
|
392
|
+
new c(1, 1, 1).sub(this.forwardVector).add(
|
|
392
393
|
// to then add ...
|
|
393
394
|
t.clone().multiply(this.forwardVector)
|
|
394
395
|
// that is scaled by the forward vector again to get the forward vector as the only direction
|
|
@@ -411,7 +412,7 @@ class x extends u {
|
|
|
411
412
|
this.parent && this.parent.onAxisDragEnd(this);
|
|
412
413
|
}
|
|
413
414
|
}
|
|
414
|
-
class
|
|
415
|
+
class Q extends f {
|
|
415
416
|
constructor(t) {
|
|
416
417
|
super();
|
|
417
418
|
i(this, "isHoverable", !0);
|
|
@@ -419,11 +420,11 @@ class q extends u {
|
|
|
419
420
|
i(this, "_controller");
|
|
420
421
|
i(this, "_startScale");
|
|
421
422
|
this.name = "DIVEScaleGizmo", this.children = [], this._startScale = null, this._controller = t, this.add(
|
|
422
|
-
new x("x", 1, new
|
|
423
|
+
new x("x", 1, new c(1, 0, 0), P)
|
|
423
424
|
), this.add(
|
|
424
|
-
new x("y", 1, new
|
|
425
|
+
new x("y", 1, new c(0, 1, 0), I)
|
|
425
426
|
), this.add(
|
|
426
|
-
new x("z", 1, new
|
|
427
|
+
new x("z", 1, new c(0, 0, 1), H)
|
|
427
428
|
);
|
|
428
429
|
}
|
|
429
430
|
set debug(t) {
|
|
@@ -441,9 +442,9 @@ class q extends u {
|
|
|
441
442
|
e.update(t);
|
|
442
443
|
});
|
|
443
444
|
}
|
|
444
|
-
handleHighlight(t, e,
|
|
445
|
-
this.children.forEach((
|
|
446
|
-
|
|
445
|
+
handleHighlight(t, e, n) {
|
|
446
|
+
this.children.forEach((o) => {
|
|
447
|
+
n ? o.highlight = o.axis === t && n : o.highlight = o.axis === t && e;
|
|
447
448
|
});
|
|
448
449
|
}
|
|
449
450
|
onHoverAxis(t, e) {
|
|
@@ -460,36 +461,36 @@ class q extends u {
|
|
|
460
461
|
}
|
|
461
462
|
onAxisDrag(t, e) {
|
|
462
463
|
if (!this._startScale || !this.parent || !this.parent.parent || !("onChange" in this.parent.parent)) return;
|
|
463
|
-
const
|
|
464
|
+
const n = e.dragDelta.clone().projectOnVector(t.forwardVector);
|
|
464
465
|
this.parent.parent.onChange(
|
|
465
466
|
void 0,
|
|
466
467
|
void 0,
|
|
467
|
-
this._startScale.clone().add(
|
|
468
|
+
this._startScale.clone().add(n)
|
|
468
469
|
);
|
|
469
470
|
}
|
|
470
471
|
onAxisDragEnd(t) {
|
|
471
472
|
this._startScale = null, this.handleHighlight(t.axis, !1, !1);
|
|
472
473
|
}
|
|
473
474
|
}
|
|
474
|
-
class
|
|
475
|
+
class W extends f {
|
|
475
476
|
constructor() {
|
|
476
477
|
super();
|
|
477
478
|
i(this, "_meshX");
|
|
478
479
|
i(this, "_meshY");
|
|
479
480
|
i(this, "_meshZ");
|
|
480
481
|
this.name = "DIVEGizmoPlane";
|
|
481
|
-
const t = new
|
|
482
|
+
const t = new g({
|
|
482
483
|
transparent: !0,
|
|
483
484
|
opacity: 0.15,
|
|
484
485
|
depthTest: !1,
|
|
485
486
|
depthWrite: !1,
|
|
486
487
|
side: 2
|
|
487
|
-
}), e = new
|
|
488
|
-
|
|
489
|
-
const
|
|
490
|
-
|
|
491
|
-
const
|
|
492
|
-
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;
|
|
493
494
|
}
|
|
494
495
|
get XPlane() {
|
|
495
496
|
return this._meshX;
|
|
@@ -527,7 +528,7 @@ class Q extends u {
|
|
|
527
528
|
}
|
|
528
529
|
}
|
|
529
530
|
}
|
|
530
|
-
class
|
|
531
|
+
class J extends f {
|
|
531
532
|
constructor(t) {
|
|
532
533
|
super();
|
|
533
534
|
i(this, "_mode");
|
|
@@ -541,7 +542,7 @@ class B extends u {
|
|
|
541
542
|
this.name = "DIVEGizmo", t.addEventListener("change", () => {
|
|
542
543
|
const e = t.getDistance() / 2.5;
|
|
543
544
|
this.scale.set(e, e, e);
|
|
544
|
-
}), 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;
|
|
545
546
|
}
|
|
546
547
|
get mode() {
|
|
547
548
|
return this._mode;
|
|
@@ -567,27 +568,116 @@ class B extends u {
|
|
|
567
568
|
detach() {
|
|
568
569
|
return this._object = null, this.assemble(), this;
|
|
569
570
|
}
|
|
570
|
-
onHover(t, e,
|
|
571
|
-
|
|
571
|
+
onHover(t, e, n) {
|
|
572
|
+
n && this._gizmoPlane.assemble(t, e);
|
|
572
573
|
}
|
|
573
|
-
onChange(t, e,
|
|
574
|
-
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)));
|
|
575
576
|
}
|
|
576
577
|
assemble() {
|
|
577
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));
|
|
578
579
|
}
|
|
579
580
|
}
|
|
580
|
-
class
|
|
581
|
+
class $ {
|
|
581
582
|
constructor() {
|
|
582
583
|
i(this, "isMovable", !0);
|
|
583
584
|
}
|
|
584
585
|
}
|
|
585
|
-
class
|
|
586
|
+
class tt {
|
|
586
587
|
constructor() {
|
|
587
588
|
i(this, "isSelectable", !0);
|
|
588
589
|
}
|
|
589
590
|
}
|
|
590
|
-
|
|
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) => {
|
|
591
681
|
if (Object.keys(r).length === 0 && Object.keys(s).length === 0)
|
|
592
682
|
return {};
|
|
593
683
|
if (typeof r != "object" || typeof s != "object")
|
|
@@ -603,24 +693,24 @@ const V = (r, s) => {
|
|
|
603
693
|
t = { ...t, [e]: s[e] };
|
|
604
694
|
return;
|
|
605
695
|
}
|
|
606
|
-
const
|
|
607
|
-
if (
|
|
696
|
+
const n = r[e], o = s[e];
|
|
697
|
+
if (n.length === 0 && o.length === 0) {
|
|
608
698
|
t = { ...t };
|
|
609
699
|
return;
|
|
610
700
|
}
|
|
611
|
-
if (
|
|
701
|
+
if (n.length !== o.length) {
|
|
612
702
|
t = { ...t, [e]: s[e] };
|
|
613
703
|
return;
|
|
614
704
|
}
|
|
615
|
-
const
|
|
616
|
-
if (
|
|
617
|
-
const
|
|
618
|
-
|
|
619
|
-
|
|
705
|
+
const a = [];
|
|
706
|
+
if (o.forEach((h, l) => {
|
|
707
|
+
const _ = z(
|
|
708
|
+
n[l],
|
|
709
|
+
o[l]
|
|
620
710
|
);
|
|
621
|
-
Object.keys(
|
|
622
|
-
}), Object.keys(
|
|
623
|
-
t = { ...t, [e]:
|
|
711
|
+
Object.keys(_).length && a.push(o[l]);
|
|
712
|
+
}), Object.keys(a).length) {
|
|
713
|
+
t = { ...t, [e]: a };
|
|
624
714
|
return;
|
|
625
715
|
}
|
|
626
716
|
return;
|
|
@@ -630,103 +720,83 @@ const V = (r, s) => {
|
|
|
630
720
|
t = { ...t, [e]: s[e] };
|
|
631
721
|
return;
|
|
632
722
|
}
|
|
633
|
-
const
|
|
723
|
+
const n = z(
|
|
634
724
|
r[e],
|
|
635
725
|
s[e]
|
|
636
726
|
);
|
|
637
|
-
if (Object.keys(
|
|
638
|
-
t = { ...t, [e]:
|
|
727
|
+
if (Object.keys(n).length) {
|
|
728
|
+
t = { ...t, [e]: n };
|
|
639
729
|
return;
|
|
640
730
|
}
|
|
641
731
|
}
|
|
642
732
|
r[e] !== s[e] && (t = { ...t, [e]: s[e] });
|
|
643
733
|
}), t;
|
|
644
734
|
};
|
|
645
|
-
function
|
|
646
|
-
return s.forEach((t) => {
|
|
647
|
-
Object.getOwnPropertyNames(t.prototype).forEach((a) => {
|
|
648
|
-
if (a === "constructor")
|
|
649
|
-
return;
|
|
650
|
-
const n = Object.getOwnPropertyDescriptor(
|
|
651
|
-
t.prototype,
|
|
652
|
-
a
|
|
653
|
-
);
|
|
654
|
-
Object.defineProperty(r.prototype, a, n);
|
|
655
|
-
});
|
|
656
|
-
const e = new t();
|
|
657
|
-
Object.getOwnPropertyNames(e).forEach((a) => {
|
|
658
|
-
const n = Object.getOwnPropertyDescriptor(
|
|
659
|
-
e,
|
|
660
|
-
a
|
|
661
|
-
);
|
|
662
|
-
Object.defineProperty(r.prototype, a, n);
|
|
663
|
-
});
|
|
664
|
-
}), r;
|
|
665
|
-
}
|
|
666
|
-
function et(r) {
|
|
735
|
+
function rt(r) {
|
|
667
736
|
return r.entityType === "group";
|
|
668
737
|
}
|
|
669
|
-
function
|
|
738
|
+
function st(r) {
|
|
670
739
|
return r.entityType === "light";
|
|
671
740
|
}
|
|
672
741
|
function it(r) {
|
|
673
742
|
return r.entityType === "primitive";
|
|
674
743
|
}
|
|
675
744
|
export {
|
|
676
|
-
|
|
677
|
-
|
|
745
|
+
H as AxesColorBlue,
|
|
746
|
+
ot as AxesColorBlueLetter,
|
|
678
747
|
I as AxesColorGreen,
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
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,
|
|
691
760
|
gt as DIVEGrid,
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
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,
|
|
699
768
|
Dt as DIVEPointLight,
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
769
|
+
wt as DIVEPrimitive,
|
|
770
|
+
yt as DIVERenderPipeline,
|
|
771
|
+
Mt as DIVERenderPipelineDefaultSettings,
|
|
772
|
+
xt as DIVEResizeManager,
|
|
773
|
+
Pt as DIVERoot,
|
|
774
|
+
It as DIVEScene,
|
|
775
|
+
Ht as DIVESceneLight,
|
|
776
|
+
tt as DIVESelectable,
|
|
777
|
+
bt as EngineDefaultSettings,
|
|
709
778
|
Vt as FILE_TYPES,
|
|
710
|
-
|
|
711
|
-
|
|
779
|
+
Kt as FileContentError,
|
|
780
|
+
$t as FileTypeError,
|
|
712
781
|
zt as GRID_CENTER_LINE_COLOR,
|
|
713
782
|
vt as GRID_SIDE_LINE_COLOR,
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
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,
|
|
719
788
|
d as UI_LAYER_MASK,
|
|
720
|
-
|
|
789
|
+
et as applyMixins,
|
|
790
|
+
m as deepClone,
|
|
721
791
|
Zt as findInterface,
|
|
722
792
|
St as findSceneRecursive,
|
|
723
|
-
|
|
724
|
-
|
|
793
|
+
Wt as getFileTypeFromUri,
|
|
794
|
+
z as getObjectDelta,
|
|
725
795
|
qt as implementsInterface,
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
796
|
+
kt as isFileTypeSupported,
|
|
797
|
+
rt as isGroupSchema,
|
|
798
|
+
st as isLightSchema,
|
|
799
|
+
re as isModelSchema,
|
|
800
|
+
se as isPovSchema,
|
|
731
801
|
it as isPrimitiveSchema
|
|
732
802
|
};
|