@realsee/dnalogel 3.47.13 → 3.47.15
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/CHANGELOG.md +8 -0
- package/dist/PanoTagPlugin/utils/requestIdleCallback.d.ts +1 -1
- package/dist/Sculpt/Meshes/Line.d.ts +1 -0
- package/dist/Sculpt/Meshes/Polygon.d.ts +2 -1
- package/dist/index.cjs.js +53 -53
- package/dist/index.js +18650 -18640
- package/dist/index.umd.js +47 -47
- package/libs/AreaMakerPlugin/Controller.js +78 -150
- package/libs/AreaMakerPlugin/index.js +3 -75
- package/libs/AreaMakerPlugin/utils/Item.js +111 -185
- package/libs/CSS3DRenderPlugin/Controller.js +29 -86
- package/libs/CSS3DRenderPlugin/index.js +12 -69
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +58 -127
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +113 -174
- package/libs/CruisePlugin/BaseController.js +50 -122
- package/libs/CruisePlugin/Move.js +21 -74
- package/libs/CruisePlugin/Work.js +46 -99
- package/libs/CruisePlugin/index.js +26 -79
- package/libs/CurrentPanoImagePlugin/Controller.js +104 -176
- package/libs/CurrentPanoImagePlugin/index.js +4 -76
- package/libs/GuideLinePlugin/Controller.js +26 -79
- package/libs/GuideLinePlugin/GuideLineItem.js +24 -77
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +2 -3
- package/libs/GuideLinePlugin/GuideLineModeItem.js +22 -75
- package/libs/GuideLinePlugin/index.js +26 -79
- package/libs/ModelMakerPlugin/Controller.js +83 -139
- package/libs/ModelMakerPlugin/index.js +16 -72
- package/libs/ModelTVVideoPlugin/Plugin.js +48 -105
- package/libs/ModelTVVideoPlugin/index.js +7 -64
- package/libs/Object3DHelperPlugin/Controller.js +32 -56
- package/libs/Object3DHelperPlugin/index.js +12 -35
- package/libs/PanoCompassPlugin/Controller.js +37 -93
- package/libs/PanoCompassPlugin/index.js +11 -67
- package/libs/PanoDoorLabelPlugin/BaseController.js +25 -97
- package/libs/PanoDoorLabelPlugin/Controller.js +115 -187
- package/libs/PanoDoorLabelPlugin/index.js +4 -76
- package/libs/PanoMeasurePlugin/Components/Controller0.js +83 -128
- package/libs/PanoMeasurePlugin/Components/Controller1.js +96 -141
- package/libs/PanoMeasurePlugin/Controller/EditController.js +66 -111
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +51 -121
- package/libs/PanoMeasurePlugin/Controller/index.js +59 -101
- package/libs/PanoMeasurePlugin/Model/area.js +21 -91
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +0 -73
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +27 -72
- package/libs/PanoMeasurePlugin/index.js +25 -67
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +17 -89
- package/libs/PanoSpatialTagPlugin/Plugin.js +106 -163
- package/libs/PanoSpatialTagPlugin/index.js +5 -62
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +67 -141
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +208 -281
- package/libs/PanoTagPlugin/Components/Tag/index.js +180 -251
- package/libs/PanoTagPlugin/Components/TagContainer.js +80 -151
- package/libs/PanoTagPlugin/Components/TagItem.js +67 -138
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +61 -132
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +28 -99
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +30 -101
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +36 -107
- package/libs/PanoTagPlugin/controller/TagRender.js +68 -121
- package/libs/PanoTagPlugin/controller/TagUtil.js +79 -132
- package/libs/PanoTagPlugin/controller/index.js +55 -108
- package/libs/PanoTagPlugin/index.js +31 -84
- package/libs/PanoTagPlugin/utils/requestIdleCallback.d.ts +1 -1
- package/libs/PanoTagPlugin/utils/requestIdleCallback.js +5 -13
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +30 -104
- package/libs/PanoVideoPlugin/Controller.js +64 -136
- package/libs/PanoVideoPlugin/VideoMeshController.js +74 -148
- package/libs/PanoVideoPlugin/index.js +8 -80
- package/libs/PipelinePlugin/Controller.js +128 -199
- package/libs/PipelinePlugin/index.js +5 -76
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +17 -91
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +14 -88
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +56 -130
- package/libs/Sculpt/Meshes/Box.js +5 -6
- package/libs/Sculpt/Meshes/Cylinder.js +2 -3
- package/libs/Sculpt/Meshes/Line.d.ts +1 -0
- package/libs/Sculpt/Meshes/Line.js +50 -41
- package/libs/Sculpt/Meshes/Point.js +9 -10
- package/libs/Sculpt/Meshes/Polygon.d.ts +2 -1
- package/libs/Sculpt/Meshes/Polygon.js +47 -37
- package/libs/Sculpt/Meshes/Polyline.js +18 -16
- package/libs/Sculpt/Meshes/Rectangle.js +3 -4
- package/libs/Sculpt/Objects/Line/Editor.js +2 -3
- package/libs/Sculpt/Objects/Rectangle/index.js +1 -1
- package/libs/Sculpt/utils/removeAllTag.js +4 -4
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -4
- package/libs/base/BasePlugin.js +3 -4
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +59 -128
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +6 -75
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +59 -129
- package/libs/floorplan/ModelFloorplanPlugin/index.js +5 -75
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +62 -134
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -76
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +81 -151
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +5 -75
- package/libs/floorplan/index.js +0 -1
- package/libs/index.js +62 -62
- package/libs/shared-utils/five/index.js +2 -3
- package/libs/shared-utils/five/lookObject.js +17 -18
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/three/index.js +0 -1
- package/package.json +1 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
var R = (s, g, e) => new Promise((f, v) => {
|
|
2
|
-
var b = (
|
|
2
|
+
var b = (m) => {
|
|
3
3
|
try {
|
|
4
|
-
h(e.next(
|
|
4
|
+
h(e.next(m));
|
|
5
5
|
} catch (x) {
|
|
6
6
|
v(x);
|
|
7
7
|
}
|
|
8
|
-
}, w = (
|
|
8
|
+
}, w = (m) => {
|
|
9
9
|
try {
|
|
10
|
-
h(e.throw(
|
|
10
|
+
h(e.throw(m));
|
|
11
11
|
} catch (x) {
|
|
12
12
|
v(x);
|
|
13
13
|
}
|
|
14
|
-
}, h = (
|
|
14
|
+
}, h = (m) => m.done ? f(m.value) : Promise.resolve(m.value).then(b, w);
|
|
15
15
|
h((e = e.apply(s, g)).next());
|
|
16
16
|
});
|
|
17
|
-
import * as
|
|
17
|
+
import * as c from "three";
|
|
18
18
|
import { parseModelTVVideoPoints as S } from "./utils/parseData.js";
|
|
19
19
|
import { CSS3DRenderPlugin as z } from "../CSS3DRenderPlugin/index.js";
|
|
20
20
|
import { Image_Play_Icon_With_Text as O } from "../PanoTagPlugin/Assets/Icon.js";
|
|
@@ -42,75 +42,18 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
42
42
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
43
43
|
import "../shared-utils/five/transformPosition.js";
|
|
44
44
|
import "../shared-utils/three/temp.js";
|
|
45
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
46
|
-
import "../Sculpt/utils/Modules/Cursor.js";
|
|
47
|
-
import "../Object3DHelperPlugin/Controller.js";
|
|
48
|
-
import "../base/BasePlugin.js";
|
|
49
45
|
import "../shared-utils/three/THREESphere.js";
|
|
50
46
|
import "animejs";
|
|
51
|
-
import "../shared-utils/url/absoluteUrl.js";
|
|
52
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
53
|
-
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
54
|
-
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
55
|
-
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
56
|
-
import "../shared-utils/three/IObject3D.js";
|
|
57
|
-
import "../shared-utils/three/boundingBox.js";
|
|
58
|
-
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
59
|
-
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
60
|
-
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
61
|
-
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
62
|
-
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
63
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
64
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
65
|
-
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
66
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
67
|
-
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
68
|
-
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
69
|
-
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
70
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
71
47
|
import "../shared-utils/isNil.js";
|
|
72
|
-
import "../
|
|
73
|
-
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
74
|
-
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
75
|
-
import "../Sculpt/utils/three/rayOnLine.js";
|
|
76
|
-
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
77
|
-
import "../shared-utils/Object3DHelper/index.js";
|
|
78
|
-
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
79
|
-
import "../shared-utils/math/rad2Deg.js";
|
|
80
|
-
import "../shared-utils/math/deg2Rad.js";
|
|
81
|
-
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
82
|
-
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
83
|
-
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
84
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
85
|
-
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
86
|
-
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
87
|
-
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
88
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
89
|
-
import "../shared-utils/five/FiveDomEvents.js";
|
|
90
|
-
import "../shared-utils/five/calculateThreeMouse.js";
|
|
91
|
-
import "../shared-utils/three/THREERaycaster.js";
|
|
92
|
-
import "../shared-utils/three/PointSelector/index.js";
|
|
93
|
-
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
94
|
-
import "../shared-utils/three/Magnifier.js";
|
|
95
|
-
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
96
|
-
import "../shared-utils/three/Assets/index.js";
|
|
97
|
-
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
98
|
-
import "../shared-utils/five/initialCSS3DRender.js";
|
|
99
|
-
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
100
|
-
import "../Sculpt/Meshes/Line.js";
|
|
101
|
-
import "../Sculpt/typings/style.js";
|
|
102
|
-
import "../shared-utils/five/FiveLine.js";
|
|
103
|
-
import "../Sculpt/utils/removeAllTag.js";
|
|
104
|
-
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
105
|
-
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
106
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
107
|
-
import "../shared-utils/isTouchDevice.js";
|
|
108
|
-
import "../shared-utils/five/getPosition.js";
|
|
109
|
-
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
48
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
110
49
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
111
50
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
51
|
+
import "../shared-utils/util.js";
|
|
112
52
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
113
|
-
|
|
53
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
54
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
55
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
56
|
+
const ge = (s, { videoElement: g }) => {
|
|
114
57
|
const e = {
|
|
115
58
|
videoMeshes: [],
|
|
116
59
|
videoTextureEnabled: !1,
|
|
@@ -145,27 +88,27 @@ const Et = (s, { videoElement: g }) => {
|
|
|
145
88
|
t();
|
|
146
89
|
else
|
|
147
90
|
return s.once("modelLoaded", () => t());
|
|
148
|
-
},
|
|
91
|
+
}, m = () => {
|
|
149
92
|
e.enabled && (e.enabled = !1, e.videoMeshes.forEach((t) => {
|
|
150
93
|
t.geometry.dispose(), t.material.dispose(), s.scene.remove(t), e.videoTexture && e.videoTexture.image.pause();
|
|
151
94
|
}), e.videoMeshes = [], s.needsRender = !0);
|
|
152
95
|
}, x = () => e.rectPoints.map((t, i) => {
|
|
153
|
-
const n = new
|
|
154
|
-
|
|
96
|
+
const n = new c.BufferGeometry(), o = 128, d = [];
|
|
97
|
+
d.push(...t[0].toArray());
|
|
155
98
|
for (let r = 1; r < o; r++)
|
|
156
|
-
|
|
99
|
+
d.push(
|
|
157
100
|
t[0].x + (t[1].x - t[0].x) * r / o,
|
|
158
101
|
t[0].y + (t[1].y - t[0].y) * r / o,
|
|
159
102
|
t[0].z + (t[1].z - t[0].z) * r / o
|
|
160
103
|
);
|
|
161
|
-
|
|
104
|
+
d.push(...t[1].toArray()), d.push(...t[2].toArray());
|
|
162
105
|
for (let r = 1; r < o; r++)
|
|
163
|
-
|
|
106
|
+
d.push(
|
|
164
107
|
t[2].x + (t[3].x - t[2].x) * r / o,
|
|
165
108
|
t[2].y + (t[3].y - t[2].y) * r / o,
|
|
166
109
|
t[2].z + (t[3].z - t[2].z) * r / o
|
|
167
110
|
);
|
|
168
|
-
|
|
111
|
+
d.push(...t[3].toArray());
|
|
169
112
|
const a = [];
|
|
170
113
|
a.push(0, 1);
|
|
171
114
|
for (let r = 1; r < o; r++)
|
|
@@ -174,15 +117,15 @@ const Et = (s, { videoElement: g }) => {
|
|
|
174
117
|
for (let r = 1; r < o; r++)
|
|
175
118
|
a.push(1, r / o);
|
|
176
119
|
a.push(1, 1);
|
|
177
|
-
const
|
|
120
|
+
const u = [];
|
|
178
121
|
for (let r = 0; r < o; r++)
|
|
179
|
-
|
|
180
|
-
n.setAttribute("position", new
|
|
181
|
-
const
|
|
122
|
+
u.push(r, r + 1, o * 2 - r, r, o * 2 - r, o * 2 + 1 - r);
|
|
123
|
+
n.setAttribute("position", new c.BufferAttribute(new Float32Array(d), 3)), n.setAttribute("uv", new c.BufferAttribute(new Float32Array(a), 2)), n.setIndex(new c.BufferAttribute(new Uint32Array(u), 1));
|
|
124
|
+
const l = new c.MeshBasicMaterial({
|
|
182
125
|
map: e.videoTextureEnabled ? e.videoTexture : e.imageTexture,
|
|
183
|
-
side:
|
|
184
|
-
}),
|
|
185
|
-
|
|
126
|
+
side: c.DoubleSide
|
|
127
|
+
}), p = new c.Mesh(n, l);
|
|
128
|
+
p.renderOrder = 1, p.name = `ModelTVVideoPlugin-${i}-${performance.now()}`;
|
|
186
129
|
const I = [t[1], t[2], t[3], t[0]], y = f.create3DDomContainer(I);
|
|
187
130
|
if (y != null && y.container) {
|
|
188
131
|
const r = document.createElement("div");
|
|
@@ -190,30 +133,30 @@ const Et = (s, { videoElement: g }) => {
|
|
|
190
133
|
const T = document.createElement("img");
|
|
191
134
|
T.src = O, T.style.width = "200px", T.style.pointerEvents = "auto", T.onclick = () => {
|
|
192
135
|
e.videoTexture.image.muted = !1, e.videoTexture.image.play();
|
|
193
|
-
}, r.appendChild(T), v.set(
|
|
136
|
+
}, r.appendChild(T), v.set(p, y);
|
|
194
137
|
}
|
|
195
|
-
return
|
|
138
|
+
return p;
|
|
196
139
|
}), F = (t) => {
|
|
197
|
-
const i = new
|
|
198
|
-
return i.minFilter =
|
|
140
|
+
const i = new c.TextureLoader().load(t);
|
|
141
|
+
return i.minFilter = c.LinearFilter, i.magFilter = c.LinearFilter, i.format = c.RGBFormat, i;
|
|
199
142
|
}, P = (t, i) => {
|
|
200
143
|
let n = i;
|
|
201
|
-
return new Promise((o,
|
|
144
|
+
return new Promise((o, d) => {
|
|
202
145
|
const a = new XMLHttpRequest();
|
|
203
146
|
a.onreadystatechange = () => {
|
|
204
147
|
if (a.readyState === 4)
|
|
205
148
|
if (a.status === 200) {
|
|
206
|
-
const
|
|
207
|
-
n = n || document.createElement("video"), n.crossOrigin = "anonymous", n.muted = !0, n.loop = !0, n.playsInline = !0, n.src =
|
|
208
|
-
const
|
|
209
|
-
|
|
149
|
+
const u = window.URL || window.webkitURL;
|
|
150
|
+
n = n || document.createElement("video"), n.crossOrigin = "anonymous", n.muted = !0, n.loop = !0, n.playsInline = !0, n.src = u.createObjectURL(a.response);
|
|
151
|
+
const l = new c.VideoTexture(n);
|
|
152
|
+
l.minFilter = c.LinearFilter, l.magFilter = c.LinearFilter, l.format = c.RGBFormat, o(Object.assign(l, { videoSource: t }));
|
|
210
153
|
} else
|
|
211
|
-
|
|
212
|
-
}, a.onerror = (
|
|
154
|
+
d(new Error("Video download Error: " + a.status));
|
|
155
|
+
}, a.onerror = (u) => d(u), a.open("GET", t), a.responseType = "blob", a.send();
|
|
213
156
|
});
|
|
214
157
|
}, L = (t, i) => R(void 0, null, function* () {
|
|
215
|
-
const { video_src: n, video_poster_src: o, points:
|
|
216
|
-
e.videoSource = n, e.rectPoints = S(
|
|
158
|
+
const { video_src: n, video_poster_src: o, points: d } = t;
|
|
159
|
+
e.videoSource = n, e.rectPoints = S(d).map((a) => a.map(({ x: u, y: l, z: p }) => new c.Vector3(u, l, p))), e.imageTexture = F(o), i && (e.videoElement = i), e.videoTexture = yield P(e.videoSource, e.videoElement), e.enabled = !!t.enable, e.enabled && h();
|
|
217
160
|
}), E = (t) => {
|
|
218
161
|
if (!e.enabled)
|
|
219
162
|
return;
|
|
@@ -227,20 +170,20 @@ const Et = (s, { videoElement: g }) => {
|
|
|
227
170
|
return;
|
|
228
171
|
const t = s.camera.position;
|
|
229
172
|
if (v.forEach((i, n) => {
|
|
230
|
-
const o = i.css3DObject.position.clone(),
|
|
231
|
-
|
|
173
|
+
const o = i.css3DObject.position.clone(), d = o.clone().sub(t).normalize(), a = new c.Raycaster(t, d), u = s.model.intersectRaycaster(a)[0], l = o.distanceTo(t), p = 0.01;
|
|
174
|
+
u && u.distance + p < l ? i.hide() : i.show();
|
|
232
175
|
}), !w()) {
|
|
233
176
|
const i = e.rectPoints.find((n) => {
|
|
234
177
|
const o = n[0].clone().add(n[1]).add(n[2]).add(n[3]).divideScalar(4);
|
|
235
|
-
return n.map((
|
|
236
|
-
const a =
|
|
237
|
-
return !(
|
|
178
|
+
return n.map((d) => d.clone().add(o).divideScalar(2)).filter((d) => {
|
|
179
|
+
const a = d.distanceTo(t), u = new c.Raycaster(t, d.clone().sub(t).normalize()), l = s.model.intersectRaycaster(u)[0], p = 0.01;
|
|
180
|
+
return !(l && l.distance + p < a);
|
|
238
181
|
}).length >= 2;
|
|
239
182
|
});
|
|
240
183
|
(!i || i.length === 0) && b(!0);
|
|
241
184
|
}
|
|
242
185
|
}, V = () => {
|
|
243
|
-
|
|
186
|
+
m(), e.videoTexture = void 0, s.off("modeChange", M), s.off("wantsTapGesture", E), s.off("panoArrived", A), s.off("renderFrame", () => {
|
|
244
187
|
e.videoMeshes.forEach((t) => {
|
|
245
188
|
t && (t.needsRender = !0);
|
|
246
189
|
});
|
|
@@ -250,9 +193,9 @@ const Et = (s, { videoElement: g }) => {
|
|
|
250
193
|
e.videoMeshes.forEach((t) => {
|
|
251
194
|
t && (t.needsRender = !0);
|
|
252
195
|
});
|
|
253
|
-
}), { enable: h, disable:
|
|
196
|
+
}), { enable: h, disable: m, load: L, dispose: V, state: e, css3DRenderPlugin: f };
|
|
254
197
|
};
|
|
255
198
|
export {
|
|
256
|
-
|
|
257
|
-
|
|
199
|
+
ge as ModelTVVideoPlugin,
|
|
200
|
+
ge as default
|
|
258
201
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelTVVideoPlugin as r } from "./Plugin.js";
|
|
2
|
-
import { DIRECTION as
|
|
2
|
+
import { DIRECTION as J } from "./typings.js";
|
|
3
3
|
import "three";
|
|
4
4
|
import "./utils/parseData.js";
|
|
5
5
|
import "../CSS3DRenderPlugin/index.js";
|
|
@@ -26,77 +26,20 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
26
26
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
27
27
|
import "../shared-utils/five/transformPosition.js";
|
|
28
28
|
import "../shared-utils/three/temp.js";
|
|
29
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
30
|
-
import "../Sculpt/utils/Modules/Cursor.js";
|
|
31
|
-
import "../Object3DHelperPlugin/Controller.js";
|
|
32
|
-
import "../base/BasePlugin.js";
|
|
33
29
|
import "../shared-utils/three/THREESphere.js";
|
|
34
30
|
import "animejs";
|
|
35
|
-
import "../shared-utils/url/absoluteUrl.js";
|
|
36
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
37
|
-
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
38
|
-
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
39
|
-
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
40
|
-
import "../shared-utils/three/IObject3D.js";
|
|
41
|
-
import "../shared-utils/three/boundingBox.js";
|
|
42
|
-
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
43
|
-
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
44
|
-
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
45
|
-
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
46
|
-
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
47
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
48
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
49
|
-
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
50
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
51
|
-
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
52
|
-
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
53
|
-
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
54
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
55
31
|
import "../shared-utils/isNil.js";
|
|
56
|
-
import "../
|
|
57
|
-
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
58
|
-
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
59
|
-
import "../Sculpt/utils/three/rayOnLine.js";
|
|
60
|
-
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
61
|
-
import "../shared-utils/Object3DHelper/index.js";
|
|
62
|
-
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
63
|
-
import "../shared-utils/math/rad2Deg.js";
|
|
64
|
-
import "../shared-utils/math/deg2Rad.js";
|
|
65
|
-
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
66
|
-
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
67
|
-
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
68
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
69
|
-
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
70
|
-
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
71
|
-
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
72
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
73
|
-
import "../shared-utils/five/FiveDomEvents.js";
|
|
74
|
-
import "../shared-utils/five/calculateThreeMouse.js";
|
|
75
|
-
import "../shared-utils/three/THREERaycaster.js";
|
|
76
|
-
import "../shared-utils/three/PointSelector/index.js";
|
|
77
|
-
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
78
|
-
import "../shared-utils/three/Magnifier.js";
|
|
79
|
-
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
80
|
-
import "../shared-utils/three/Assets/index.js";
|
|
81
|
-
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
82
|
-
import "../shared-utils/five/initialCSS3DRender.js";
|
|
83
|
-
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
84
|
-
import "../Sculpt/Meshes/Line.js";
|
|
85
|
-
import "../Sculpt/typings/style.js";
|
|
86
|
-
import "../shared-utils/five/FiveLine.js";
|
|
87
|
-
import "../Sculpt/utils/removeAllTag.js";
|
|
88
|
-
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
89
|
-
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
90
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
91
|
-
import "../shared-utils/isTouchDevice.js";
|
|
92
|
-
import "../shared-utils/five/getPosition.js";
|
|
93
|
-
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
32
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
94
33
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
95
34
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
35
|
+
import "../shared-utils/util.js";
|
|
96
36
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
37
|
+
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
38
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
39
|
+
import "../shared-utils/five/fiveModelLoad.js";
|
|
97
40
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
98
41
|
export {
|
|
99
|
-
|
|
42
|
+
J as DIRECTION,
|
|
100
43
|
r as ModelTVVideoPlugin,
|
|
101
44
|
r as default
|
|
102
45
|
};
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
var x = Object.defineProperty;
|
|
2
2
|
var P = Object.getOwnPropertySymbols;
|
|
3
3
|
var I = Object.prototype.hasOwnProperty, W = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var S = (
|
|
4
|
+
var S = (l, o, e) => o in l ? x(l, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[o] = e, n = (l, o) => {
|
|
5
5
|
for (var e in o || (o = {}))
|
|
6
|
-
I.call(o, e) && S(
|
|
6
|
+
I.call(o, e) && S(l, e, o[e]);
|
|
7
7
|
if (P)
|
|
8
8
|
for (var e of P(o))
|
|
9
|
-
W.call(o, e) && S(
|
|
10
|
-
return
|
|
9
|
+
W.call(o, e) && S(l, e, o[e]);
|
|
10
|
+
return l;
|
|
11
11
|
};
|
|
12
|
-
var f = (
|
|
13
|
-
var g = (
|
|
12
|
+
var f = (l, o, e) => (S(l, typeof o != "symbol" ? o + "" : o, e), e);
|
|
13
|
+
var g = (l, o, e) => new Promise((t, r) => {
|
|
14
14
|
var s = (h) => {
|
|
15
15
|
try {
|
|
16
16
|
b(e.next(h));
|
|
17
|
-
} catch (
|
|
18
|
-
r(
|
|
17
|
+
} catch (p) {
|
|
18
|
+
r(p);
|
|
19
19
|
}
|
|
20
20
|
}, d = (h) => {
|
|
21
21
|
try {
|
|
22
22
|
b(e.throw(h));
|
|
23
|
-
} catch (
|
|
24
|
-
r(
|
|
23
|
+
} catch (p) {
|
|
24
|
+
r(p);
|
|
25
25
|
}
|
|
26
26
|
}, b = (h) => h.done ? t(h.value) : Promise.resolve(h.value).then(s, d);
|
|
27
|
-
b((e = e.apply(
|
|
27
|
+
b((e = e.apply(l, o)).next());
|
|
28
28
|
});
|
|
29
29
|
import { Controller as L } from "../base/BasePlugin.js";
|
|
30
30
|
import "three";
|
|
@@ -57,26 +57,9 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
57
57
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
58
58
|
import "../shared-utils/five/transformPosition.js";
|
|
59
59
|
import "../shared-utils/three/temp.js";
|
|
60
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
61
|
-
import "../Sculpt/utils/Modules/Cursor.js";
|
|
62
|
-
import "./Controller.js";
|
|
63
|
-
import "../shared-utils/five/FiveDomEvents.js";
|
|
64
|
-
import "../shared-utils/three/getObjectVisible.js";
|
|
65
|
-
import "../shared-utils/five/calculateThreeMouse.js";
|
|
66
|
-
import "../shared-utils/three/THREERaycaster.js";
|
|
67
|
-
import "../shared-utils/three/PointSelector/index.js";
|
|
68
|
-
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
69
|
-
import "../shared-utils/three/Magnifier.js";
|
|
70
|
-
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
71
|
-
import "../shared-utils/three/Assets/index.js";
|
|
72
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
73
|
-
import "../CSS3DRenderPlugin/utils/even.js";
|
|
74
|
-
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
75
|
-
import "../shared-utils/three/centerPoint.js";
|
|
76
60
|
import "animejs";
|
|
77
|
-
import "../shared-utils/isNil.js";
|
|
78
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
79
61
|
import "../shared-utils/url/absoluteUrl.js";
|
|
62
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
80
63
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
81
64
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
82
65
|
import "../shared-utils/three/IObject3D.js";
|
|
@@ -85,18 +68,13 @@ import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
|
85
68
|
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
86
69
|
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
87
70
|
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
88
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
89
|
-
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
90
|
-
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
91
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
92
|
-
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
93
|
-
import "../shared-utils/util.js";
|
|
94
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
95
71
|
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
96
72
|
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
97
73
|
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
98
74
|
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
99
75
|
import "../shared-utils/threex/domevents/index.js";
|
|
76
|
+
import "../shared-utils/isNil.js";
|
|
77
|
+
import "../shared-utils/util.js";
|
|
100
78
|
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
101
79
|
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
102
80
|
import "../Sculpt/utils/three/rayOnLine.js";
|
|
@@ -104,19 +82,17 @@ import "../shared-utils/math/rad2Deg.js";
|
|
|
104
82
|
import "../shared-utils/math/deg2Rad.js";
|
|
105
83
|
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
106
84
|
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
107
|
-
import "../
|
|
108
|
-
import "../
|
|
109
|
-
import "../
|
|
110
|
-
import "../
|
|
111
|
-
import "../
|
|
112
|
-
import "../
|
|
113
|
-
import "../
|
|
114
|
-
import "../
|
|
115
|
-
import "../
|
|
116
|
-
import "../CSS3DRenderPlugin/utils/
|
|
117
|
-
import "../
|
|
118
|
-
import "../shared-utils/five/getPosition.js";
|
|
119
|
-
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
85
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
86
|
+
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
87
|
+
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
88
|
+
import "../CSS3DRenderPlugin/utils/even.js";
|
|
89
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
90
|
+
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
91
|
+
import "../shared-utils/three/centerPoint.js";
|
|
92
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
93
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
94
|
+
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
95
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
120
96
|
const w = "Object3DHelperPlugin", D = w, X = () => {
|
|
121
97
|
console.error(`${D} is disposed`);
|
|
122
98
|
}, Y = () => {
|
|
@@ -124,7 +100,7 @@ const w = "Object3DHelperPlugin", D = w, X = () => {
|
|
|
124
100
|
}, Z = () => {
|
|
125
101
|
console.error(`${D} is disabled`);
|
|
126
102
|
};
|
|
127
|
-
class
|
|
103
|
+
class fr extends L {
|
|
128
104
|
constructor(e) {
|
|
129
105
|
super(e);
|
|
130
106
|
f(this, "name", w);
|
|
@@ -200,22 +176,22 @@ class $r extends L {
|
|
|
200
176
|
console.warn(`Object3DHelperPlugin: object3D ${e.name} is already has helper`);
|
|
201
177
|
return;
|
|
202
178
|
}
|
|
203
|
-
const r = new N(), s = [], d = (M = this.five.getElement()) == null ? void 0 : M.parentElement, b = this.five.camera,
|
|
179
|
+
const r = new N(), s = [], d = (M = this.five.getElement()) == null ? void 0 : M.parentElement, b = this.five.camera, p = n(n({}, {
|
|
204
180
|
moveHelper: !0,
|
|
205
181
|
rotateHelper: !0,
|
|
206
182
|
scaleHelper: !0,
|
|
207
183
|
boundingBoxHelper: !1,
|
|
208
184
|
positionFrom: "objectPosition"
|
|
209
|
-
}), t), { moveHelper: y, rotateHelper: B, scaleHelper: j, boundingBoxHelper: k } =
|
|
185
|
+
}), t), { moveHelper: y, rotateHelper: B, scaleHelper: j, boundingBoxHelper: k } = p, u = new R(), v = new R(), C = (i) => {
|
|
210
186
|
if (i)
|
|
211
187
|
return typeof i == "boolean" ? i : i.enable;
|
|
212
188
|
};
|
|
213
189
|
if (C(y)) {
|
|
214
|
-
const i = n(n({}, this.getConfig(
|
|
190
|
+
const i = n(n({}, this.getConfig(p.moveHelper)), p), m = new _(e, n({}, i)), a = new H(this.five, U, e, m, i, u, v);
|
|
215
191
|
r.addControllers({ moveController: a.helperController }), s.push(() => a.dispose());
|
|
216
192
|
}
|
|
217
193
|
if (C(B)) {
|
|
218
|
-
const i = n(n({}, this.getConfig(
|
|
194
|
+
const i = n(n({}, this.getConfig(p.rotateHelper)), p), m = new $(e, n({ container: d }, i)), a = new H(this.five, V, e, m, i, u, v);
|
|
219
195
|
r.addControllers({ rotateController: a.helperController }), s.push(() => a.dispose());
|
|
220
196
|
}
|
|
221
197
|
if (C(k)) {
|
|
@@ -252,7 +228,7 @@ class $r extends L {
|
|
|
252
228
|
}
|
|
253
229
|
});
|
|
254
230
|
} else {
|
|
255
|
-
const i = n(n({}, this.getConfig(
|
|
231
|
+
const i = n(n({}, this.getConfig(p.scaleHelper)), p), m = new K(e, i), a = new H(this.five, Q, e, m, i, u, v);
|
|
256
232
|
r.addControllers({ scaleController: a.helperController }), s.push(() => a.dispose());
|
|
257
233
|
}
|
|
258
234
|
return this.objectHelperMap.set(e, { helper: r, disposers: s }), r.controllers;
|
|
@@ -296,6 +272,6 @@ class $r extends L {
|
|
|
296
272
|
}
|
|
297
273
|
}
|
|
298
274
|
export {
|
|
299
|
-
|
|
275
|
+
fr as Object3DHelperController,
|
|
300
276
|
D as PLUGIN
|
|
301
277
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Object3DHelperController as o } from "./Controller.js";
|
|
2
|
-
import { PLUGIN as
|
|
2
|
+
import { PLUGIN as Or } from "./Controller.js";
|
|
3
3
|
import "../base/BasePlugin.js";
|
|
4
4
|
import "../shared-utils/Subscribe.js";
|
|
5
5
|
import "three";
|
|
@@ -15,26 +15,10 @@ import "../shared-utils/Utils/BaseUtil.js";
|
|
|
15
15
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
16
16
|
import "../shared-utils/five/transformPosition.js";
|
|
17
17
|
import "../shared-utils/three/temp.js";
|
|
18
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
19
|
-
import "../Sculpt/utils/Modules/Cursor.js";
|
|
20
|
-
import "../shared-utils/five/FiveDomEvents.js";
|
|
21
|
-
import "../shared-utils/three/getObjectVisible.js";
|
|
22
|
-
import "../shared-utils/five/calculateThreeMouse.js";
|
|
23
|
-
import "../shared-utils/three/THREERaycaster.js";
|
|
24
|
-
import "../shared-utils/three/PointSelector/index.js";
|
|
25
|
-
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
26
|
-
import "../shared-utils/three/Magnifier.js";
|
|
27
|
-
import "../shared-utils/three/PointSelector/utils/PointHelper.js";
|
|
28
|
-
import "../shared-utils/three/Assets/index.js";
|
|
29
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
30
|
-
import "../CSS3DRenderPlugin/utils/even.js";
|
|
31
|
-
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
32
|
-
import "../shared-utils/three/centerPoint.js";
|
|
33
18
|
import "../shared-utils/three/THREESphere.js";
|
|
34
19
|
import "animejs";
|
|
35
|
-
import "../shared-utils/isNil.js";
|
|
36
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
37
20
|
import "../shared-utils/url/absoluteUrl.js";
|
|
21
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
38
22
|
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
39
23
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
40
24
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
@@ -48,6 +32,12 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
|
48
32
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
49
33
|
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
50
34
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
35
|
+
import "../CSS3DRenderPlugin/utils/even.js";
|
|
36
|
+
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
37
|
+
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
38
|
+
import "../shared-utils/three/centerPoint.js";
|
|
39
|
+
import "../shared-utils/three/getObjectVisible.js";
|
|
40
|
+
import "../shared-utils/isNil.js";
|
|
51
41
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
52
42
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
53
43
|
import "../shared-utils/util.js";
|
|
@@ -77,23 +67,10 @@ import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
|
77
67
|
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
78
68
|
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
79
69
|
import "../shared-utils/five/fiveModelLoad.js";
|
|
80
|
-
|
|
81
|
-
import "../shared-utils/five/initialCSS3DRender.js";
|
|
82
|
-
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
83
|
-
import "../Sculpt/Meshes/Line.js";
|
|
84
|
-
import "../Sculpt/typings/style.js";
|
|
85
|
-
import "../shared-utils/five/FiveLine.js";
|
|
86
|
-
import "../Sculpt/utils/removeAllTag.js";
|
|
87
|
-
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
88
|
-
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
89
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
90
|
-
import "../shared-utils/isTouchDevice.js";
|
|
91
|
-
import "../shared-utils/five/getPosition.js";
|
|
92
|
-
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
93
|
-
const Fr = (r) => new o(r);
|
|
70
|
+
const xr = (r) => new o(r);
|
|
94
71
|
export {
|
|
95
72
|
o as Object3DHelperController,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
73
|
+
xr as Object3DHelperPlugin,
|
|
74
|
+
Or as PLUGIN,
|
|
75
|
+
xr as default
|
|
99
76
|
};
|