@realsee/dnalogel 3.47.3 → 3.47.5
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 +6 -0
- package/dist/Sculpt/Meshes/Polygon.d.ts +1 -1
- package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
- package/dist/Sculpt/utils/Meshes/getLengthHTML.d.ts +1 -0
- package/dist/Sculpt/utils/three/ColoredMesh.d.ts +2 -2
- package/dist/index.cjs.js +79 -55
- package/dist/index.js +5073 -5050
- package/dist/index.umd.js +74 -50
- package/dist/shared-utils/five/vector3ToScreen.d.ts +4 -4
- package/dist/shared-utils/tag.d.ts +1 -3
- package/dist/shared-utils/three/Magnifier.d.ts +1 -0
- package/dist/shared-utils/three/index.d.ts +0 -2
- package/dist/shared-utils/three/raycaster.d.ts +2 -0
- package/libs/AreaMakerPlugin/Controller.js +16 -14
- package/libs/AreaMakerPlugin/index.js +18 -16
- package/libs/AreaMakerPlugin/utils/Item.js +55 -53
- package/libs/CSS3DRenderPlugin/Controller.js +14 -12
- package/libs/CSS3DRenderPlugin/index.js +21 -19
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +15 -13
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +16 -14
- package/libs/CruisePlugin/BaseController.js +29 -27
- package/libs/CruisePlugin/Move.js +21 -19
- package/libs/CruisePlugin/Work.js +16 -14
- package/libs/CruisePlugin/index.js +22 -20
- package/libs/CurrentPanoImagePlugin/Controller.js +25 -23
- package/libs/CurrentPanoImagePlugin/index.js +19 -17
- package/libs/GuideLinePlugin/Controller.js +18 -16
- package/libs/GuideLinePlugin/GuideLineItem.js +18 -16
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -4
- package/libs/GuideLinePlugin/GuideLineModeItem.js +18 -16
- package/libs/GuideLinePlugin/index.js +22 -20
- package/libs/ModelMakerPlugin/Controller.js +22 -20
- package/libs/ModelMakerPlugin/index.js +18 -16
- package/libs/ModelMakerPlugin/item/baseItem.js +14 -13
- package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +6 -5
- package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +17 -15
- package/libs/ModelTVVideoPlugin/index.js +16 -14
- package/libs/Object3DHelperPlugin/Controller.js +17 -15
- package/libs/Object3DHelperPlugin/index.js +21 -19
- package/libs/PanoCompassPlugin/Controller.js +18 -16
- package/libs/PanoCompassPlugin/index.js +19 -17
- package/libs/PanoDoorLabelPlugin/BaseController.js +18 -16
- package/libs/PanoDoorLabelPlugin/Controller.js +38 -36
- package/libs/PanoDoorLabelPlugin/index.js +19 -17
- package/libs/PanoMeasurePlugin/Components/Controller0.js +15 -13
- package/libs/PanoMeasurePlugin/Components/Controller1.js +15 -13
- package/libs/PanoMeasurePlugin/Controller/EditController.js +14 -12
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +15 -13
- package/libs/PanoMeasurePlugin/Controller/index.js +13 -11
- package/libs/PanoMeasurePlugin/Model/area.js +15 -13
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +15 -13
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +15 -13
- package/libs/PanoMeasurePlugin/index.js +24 -22
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +15 -13
- package/libs/PanoSpatialTagPlugin/Plugin.js +17 -15
- package/libs/PanoSpatialTagPlugin/index.js +14 -12
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +17 -15
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +16 -14
- package/libs/PanoTagPlugin/Components/Tag/index.js +16 -14
- package/libs/PanoTagPlugin/Components/TagContainer.js +16 -14
- package/libs/PanoTagPlugin/Components/TagItem.js +16 -14
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +60 -60
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +16 -14
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +16 -14
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +18 -16
- package/libs/PanoTagPlugin/controller/TagRender.js +15 -13
- package/libs/PanoTagPlugin/controller/TagUtil.js +16 -14
- package/libs/PanoTagPlugin/controller/index.js +18 -16
- package/libs/PanoTagPlugin/index.js +24 -22
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +17 -15
- package/libs/PanoVideoPlugin/Controller.js +18 -16
- package/libs/PanoVideoPlugin/VideoMeshController.js +18 -16
- package/libs/PanoVideoPlugin/index.js +21 -19
- package/libs/PipelinePlugin/Controller.js +17 -15
- package/libs/PipelinePlugin/index.js +19 -17
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +18 -16
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +18 -16
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +35 -33
- package/libs/Sculpt/Meshes/Box.js +6 -7
- package/libs/Sculpt/Meshes/Cylinder.js +15 -16
- package/libs/Sculpt/Meshes/Line.js +61 -55
- package/libs/Sculpt/Meshes/Point.js +6 -7
- package/libs/Sculpt/Meshes/Polygon.d.ts +1 -1
- package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
- package/libs/Sculpt/Meshes/Polyline.js +5 -6
- package/libs/Sculpt/Meshes/Rectangle.js +3 -4
- package/libs/Sculpt/Objects/Line/Editor.js +15 -16
- package/libs/Sculpt/Objects/Line/index.js +35 -35
- package/libs/Sculpt/Objects/Polygon/index.js +55 -61
- package/libs/Sculpt/Objects/Polyline/index.js +45 -45
- package/libs/Sculpt/index.js +1 -1
- package/libs/Sculpt/utils/Meshes/getLengthHTML.d.ts +1 -0
- package/libs/Sculpt/utils/Meshes/getLengthHTML.js +34 -0
- package/libs/Sculpt/utils/three/ColoredMesh.d.ts +2 -2
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -4
- package/libs/base/BasePlugin.js +14 -15
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +15 -13
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -17
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +15 -13
- package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -17
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +18 -16
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +19 -17
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +15 -13
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -17
- package/libs/floorplan/index.js +1 -2
- package/libs/index.js +15 -15
- package/libs/shared-utils/Object3DHelper/utils/getMouseRaycaster.js +7 -7
- package/libs/shared-utils/five/index.js +3 -4
- package/libs/shared-utils/five/lookObject.js +3 -4
- package/libs/shared-utils/five/vector3ToScreen.d.ts +4 -4
- package/libs/shared-utils/five/vector3ToScreen.js +9 -4
- package/libs/shared-utils/index.js +45 -49
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +1 -3
- package/libs/shared-utils/tag.js +37 -29
- package/libs/shared-utils/three/Magnifier.d.ts +1 -0
- package/libs/shared-utils/three/Magnifier.js +23 -24
- package/libs/shared-utils/three/index.d.ts +0 -2
- package/libs/shared-utils/three/index.js +1 -2
- package/libs/shared-utils/three/raycaster.d.ts +2 -0
- package/libs/shared-utils/three/raycaster.js +6 -0
- package/package.json +2 -2
- package/dist/shared-utils/three/getIntersect.d.ts +0 -21
- package/dist/shared-utils/three/getRaycaster.d.ts +0 -6
- package/libs/shared-utils/three/getIntersect.d.ts +0 -21
- package/libs/shared-utils/three/getIntersect.js +0 -24
- package/libs/shared-utils/three/getRaycaster.d.ts +0 -6
- package/libs/shared-utils/three/getRaycaster.js +0 -12
|
@@ -27,15 +27,14 @@ var F = (a, o, t) => new Promise((e, s) => {
|
|
|
27
27
|
i((t = t.apply(a, o)).next());
|
|
28
28
|
});
|
|
29
29
|
import { Controller as z } from "../base/BasePluginWithData.js";
|
|
30
|
-
import * as
|
|
30
|
+
import * as d from "three";
|
|
31
31
|
import { ModelMakerBoxItem as B } from "./item/boxItem.js";
|
|
32
32
|
import { PrismMesh as A } from "../Sculpt/Meshes/Prism.js";
|
|
33
33
|
import { anyPositionToVector3 as O } from "../shared-utils/positionToVector3.js";
|
|
34
34
|
import { PolygonWithEdgeMesh as Q } from "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
35
35
|
import "hammerjs";
|
|
36
36
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
37
|
-
import "
|
|
38
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
37
|
+
import "../Sculpt/Meshes/Line.js";
|
|
39
38
|
import { boxVertex as g } from "../shared-utils/three/boundingBox.js";
|
|
40
39
|
import "animejs";
|
|
41
40
|
import { notNil as I } from "../shared-utils/isNil.js";
|
|
@@ -55,25 +54,26 @@ import "../shared-utils/five/transformPosition.js";
|
|
|
55
54
|
import "../shared-utils/five/getFiveModel.js";
|
|
56
55
|
import "../shared-utils/url/absoluteUrl.js";
|
|
57
56
|
import "../shared-utils/three/IObject3D.js";
|
|
58
|
-
import "../Sculpt/Meshes/Line.js";
|
|
59
|
-
import "../Sculpt/typings/style.js";
|
|
60
|
-
import "../shared-utils/five/FiveLine.js";
|
|
61
|
-
import "../shared-utils/three/centerPoint.js";
|
|
62
|
-
import "../shared-utils/tag.js";
|
|
63
|
-
import "../shared-utils/five/vector3ToScreen.js";
|
|
64
|
-
import "../Sculpt/utils/removeAllTag.js";
|
|
65
57
|
import "../Sculpt/Meshes/Polygon.js";
|
|
66
58
|
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
67
59
|
import "../shared-utils/three/earcut3D.js";
|
|
68
60
|
import "earcut";
|
|
69
61
|
import "../shared-utils/three/getNormal.js";
|
|
62
|
+
import "../Sculpt/typings/style.js";
|
|
70
63
|
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
71
64
|
import "../shared-utils/three/geometryUtil.js";
|
|
65
|
+
import "../shared-utils/three/centerPoint.js";
|
|
72
66
|
import "../shared-utils/three/THREERaycaster.js";
|
|
73
67
|
import "../Sculpt/Meshes/Polyline.js";
|
|
74
68
|
import "../Sculpt/Meshes/LineWithDots.js";
|
|
75
69
|
import "../Sculpt/Meshes/Point.js";
|
|
76
70
|
import "../shared-utils/three/closeVectors.js";
|
|
71
|
+
import "../shared-utils/five/FiveLine.js";
|
|
72
|
+
import "@realsee/five/line";
|
|
73
|
+
import "../shared-utils/tag.js";
|
|
74
|
+
import "../shared-utils/five/vector3ToScreen.js";
|
|
75
|
+
import "../shared-utils/three/raycaster.js";
|
|
76
|
+
import "../Sculpt/utils/Modules/Global.js";
|
|
77
77
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
78
78
|
import "../Object3DHelperPlugin/Controller.js";
|
|
79
79
|
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
@@ -133,19 +133,21 @@ import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
|
133
133
|
import "../shared-utils/isTouchDevice.js";
|
|
134
134
|
import "../shared-utils/five/getPosition.js";
|
|
135
135
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
136
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
137
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
136
138
|
import "./utils/Text.js";
|
|
137
139
|
import "../vendor/svelte/internal/index.js";
|
|
138
140
|
import "../components/AreaLabel/LabelItem.js";
|
|
139
141
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
140
142
|
import "./item/baseItem.js";
|
|
141
143
|
import "../shared-utils/three/addIfNotExists.js";
|
|
142
|
-
class
|
|
144
|
+
class ii extends z {
|
|
143
145
|
constructor(t, e) {
|
|
144
146
|
var s, l;
|
|
145
147
|
super(t);
|
|
146
148
|
n(this, "state");
|
|
147
149
|
n(this, "items", []);
|
|
148
|
-
n(this, "group", new
|
|
150
|
+
n(this, "group", new d.Group());
|
|
149
151
|
n(this, "data");
|
|
150
152
|
n(this, "tagRendererMap", {});
|
|
151
153
|
n(this, "fiveDomEvents");
|
|
@@ -198,7 +200,7 @@ class ti extends z {
|
|
|
198
200
|
occlusionVisibility: e,
|
|
199
201
|
occlusionMode: s
|
|
200
202
|
}), this.fiveDomEvents.addEventListener(r, "hover", () => r.highlight()), this.fiveDomEvents.addEventListener(r, "unHover", () => r.unhighlight());
|
|
201
|
-
const
|
|
203
|
+
const m = new U({
|
|
202
204
|
five: this.five,
|
|
203
205
|
tagWrapper: this.tagWrapper,
|
|
204
206
|
model: r,
|
|
@@ -206,17 +208,17 @@ class ti extends z {
|
|
|
206
208
|
type: i.type,
|
|
207
209
|
rawData: i
|
|
208
210
|
});
|
|
209
|
-
this.items.push(
|
|
211
|
+
this.items.push(m);
|
|
210
212
|
} else if (i.type === "prism") {
|
|
211
213
|
const r = new A();
|
|
212
214
|
this.zFightingOffset += 1e-4;
|
|
213
|
-
const
|
|
215
|
+
const m = i.object_data.points.map((u) => {
|
|
214
216
|
var y;
|
|
215
217
|
return [u[0], u[1] + ((y = i.object_data.fixedY) != null ? y : 0), u[2]];
|
|
216
218
|
});
|
|
217
|
-
|
|
218
|
-
const v = i.object_data.height + ((c = i.object_data.fixedHeight) != null ? c : 0) + this.zFightingOffset, M = O(
|
|
219
|
-
r.setPoints({ points:
|
|
219
|
+
m.push(m[0]);
|
|
220
|
+
const v = i.object_data.height + ((c = i.object_data.fixedHeight) != null ? c : 0) + this.zFightingOffset, M = O(m[0]).add(new d.Vector3().setY(v));
|
|
221
|
+
r.setPoints({ points: m, heightPoint: M }), r.setStyle({
|
|
220
222
|
color: i.object_data.color,
|
|
221
223
|
opacity: ((_ = i.object_data.opacity) != null ? _ : 0.4) / 2,
|
|
222
224
|
lineColor: i.object_data.color,
|
|
@@ -234,7 +236,7 @@ class ti extends z {
|
|
|
234
236
|
});
|
|
235
237
|
this.items.push(f);
|
|
236
238
|
} else if (i.type === "box") {
|
|
237
|
-
const r = new A(), { start:
|
|
239
|
+
const r = new A(), { start: m, end: v, rotation: M = [0, 0, 0, 0], opacity: f, color: u } = i.object_data, y = new d.Vector3().fromArray(m), R = new d.Vector3().fromArray(v), T = new d.Euler().fromArray(M), x = new d.Quaternion().setFromEuler(T), C = x.clone().inverse(), V = new d.Vector3().lerpVectors(y, R, 0.5), W = V.clone().negate(), j = y.clone().add(W).applyQuaternion(C), k = R.clone().add(W).applyQuaternion(C), b = new d.Box3(j.clone().max(k), j.clone().min(k));
|
|
238
240
|
r.setPoints({
|
|
239
241
|
points: [g(b, 2), g(b, 3), g(b, 7), g(b, 6), g(b, 2)],
|
|
240
242
|
heightPoint: g(b, 0)
|
|
@@ -300,5 +302,5 @@ class ti extends z {
|
|
|
300
302
|
}
|
|
301
303
|
}
|
|
302
304
|
export {
|
|
303
|
-
|
|
305
|
+
ii as Controller
|
|
304
306
|
};
|
|
@@ -5,38 +5,44 @@ import "../shared-utils/Subscribe.js";
|
|
|
5
5
|
import "three";
|
|
6
6
|
import "hammerjs";
|
|
7
7
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
8
|
+
import "../Sculpt/Meshes/Line.js";
|
|
9
|
+
import "../Sculpt/typings/style.js";
|
|
10
|
+
import "../shared-utils/five/FiveLine.js";
|
|
8
11
|
import "@realsee/five/line";
|
|
12
|
+
import "../shared-utils/positionToVector3.js";
|
|
13
|
+
import "../shared-utils/three/IObject3D.js";
|
|
14
|
+
import "../shared-utils/three/centerPoint.js";
|
|
15
|
+
import "../shared-utils/three/THREESphere.js";
|
|
16
|
+
import "animejs";
|
|
17
|
+
import "../shared-utils/isNil.js";
|
|
18
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
19
|
+
import "../shared-utils/tag.js";
|
|
20
|
+
import "../shared-utils/five/vector3ToScreen.js";
|
|
21
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
22
|
+
import "../shared-utils/three/raycaster.js";
|
|
9
23
|
import "../Sculpt/utils/Modules/Global.js";
|
|
10
24
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
11
25
|
import "../Object3DHelperPlugin/Controller.js";
|
|
12
|
-
import "../shared-utils/three/THREESphere.js";
|
|
13
26
|
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
14
27
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
15
28
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
16
|
-
import "../shared-utils/three/IObject3D.js";
|
|
17
29
|
import "../shared-utils/three/boundingBox.js";
|
|
18
30
|
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
19
31
|
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
20
32
|
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
21
33
|
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
22
34
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
23
|
-
import "../shared-utils/positionToVector3.js";
|
|
24
35
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
25
36
|
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
26
37
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
27
38
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
28
39
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
29
40
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
30
|
-
import "../shared-utils/three/centerPoint.js";
|
|
31
41
|
import "../shared-utils/three/getObjectVisible.js";
|
|
32
|
-
import "animejs";
|
|
33
|
-
import "../shared-utils/isNil.js";
|
|
34
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
35
42
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
36
43
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
37
44
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
38
45
|
import "../shared-utils/five/transformPosition.js";
|
|
39
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
40
46
|
import "../shared-utils/url/absoluteUrl.js";
|
|
41
47
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
42
48
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
@@ -78,16 +84,12 @@ import "../shared-utils/three/Assets/index.js";
|
|
|
78
84
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
79
85
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
80
86
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
81
|
-
import "../Sculpt/Meshes/Line.js";
|
|
82
|
-
import "../Sculpt/typings/style.js";
|
|
83
|
-
import "../shared-utils/five/FiveLine.js";
|
|
84
|
-
import "../shared-utils/tag.js";
|
|
85
|
-
import "../shared-utils/five/vector3ToScreen.js";
|
|
86
|
-
import "../Sculpt/utils/removeAllTag.js";
|
|
87
87
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
88
88
|
import "../shared-utils/isTouchDevice.js";
|
|
89
89
|
import "../shared-utils/five/getPosition.js";
|
|
90
90
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
91
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
92
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
91
93
|
import "./item/boxItem.js";
|
|
92
94
|
import "./item/polygonItem.js";
|
|
93
95
|
import "./item/baseItem.js";
|
|
@@ -112,7 +114,7 @@ import "../vendor/svelte/internal/index.js";
|
|
|
112
114
|
import "../components/AreaLabel/LabelItem.js";
|
|
113
115
|
import "../components/AreaLabel/Assets/roomLabelBg.js";
|
|
114
116
|
import "./item/prismItem.js";
|
|
115
|
-
const
|
|
117
|
+
const cr = (...o) => new r(...o);
|
|
116
118
|
export {
|
|
117
|
-
|
|
119
|
+
cr as ModelMakerPlugin
|
|
118
120
|
};
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var i = (s,
|
|
1
|
+
var m = Object.defineProperty;
|
|
2
|
+
var n = (s, e, t) => e in s ? m(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
|
|
3
|
+
var i = (s, e, t) => (n(s, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
4
|
import * as d from "three";
|
|
5
5
|
import { addIfNotExists as l } from "../../shared-utils/three/addIfNotExists.js";
|
|
6
6
|
import { Subscribe as a } from "../../shared-utils/Subscribe.js";
|
|
7
|
-
import { tag as
|
|
8
|
-
import { boundingBox as
|
|
7
|
+
import { tag as p } from "../../shared-utils/tag.js";
|
|
8
|
+
import { boundingBox as v } from "../../shared-utils/three/boundingBox.js";
|
|
9
9
|
import { getFiveDomEvent as c } from "../utils/getFiveDomEvent.js";
|
|
10
10
|
import "../../shared-utils/positionToVector3.js";
|
|
11
11
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
12
12
|
import "../../shared-utils/five/getFiveModel.js";
|
|
13
|
+
import "../../shared-utils/three/raycaster.js";
|
|
13
14
|
import "../../shared-utils/three/THREESphere.js";
|
|
14
15
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
15
16
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
16
17
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
17
18
|
import "../../shared-utils/three/THREERaycaster.js";
|
|
18
|
-
class
|
|
19
|
-
constructor(
|
|
19
|
+
class I extends a {
|
|
20
|
+
constructor(t) {
|
|
20
21
|
var o, r;
|
|
21
22
|
super();
|
|
22
23
|
i(this, "type");
|
|
@@ -26,9 +27,9 @@ class B extends a {
|
|
|
26
27
|
i(this, "five");
|
|
27
28
|
i(this, "group");
|
|
28
29
|
i(this, "fiveDomEvents");
|
|
29
|
-
this.five =
|
|
30
|
-
const h = (r = (o =
|
|
31
|
-
this.tag =
|
|
30
|
+
this.five = t.five, this.model = t.model, this.group = t.group, this.type = t.type, this.rawData = t.rawData, this.fiveDomEvents = c(this.five);
|
|
31
|
+
const h = (r = (o = t.position) != null ? o : this.model.center) != null ? r : v(this.model).getCenter(new d.Vector3());
|
|
32
|
+
this.tag = p(this.five, h, { wrapper: t.tagWrapper });
|
|
32
33
|
}
|
|
33
34
|
get container() {
|
|
34
35
|
return this.tag.container;
|
|
@@ -47,8 +48,8 @@ class B extends a {
|
|
|
47
48
|
}
|
|
48
49
|
enable() {
|
|
49
50
|
l(this.group, this.model), this.five.needsRender = !0, this.model.updateMatrixWorld(!0), this.tag.setTransformMatrix(this.model.matrixWorld), this.tag.enable();
|
|
50
|
-
const
|
|
51
|
-
this.fiveDomEvents.addEventListener(this.model, "click",
|
|
51
|
+
const t = this.onClick.bind(this);
|
|
52
|
+
this.fiveDomEvents.addEventListener(this.model, "click", t), this.emit("enable");
|
|
52
53
|
}
|
|
53
54
|
disable() {
|
|
54
55
|
this.group.remove(this.model), this.five.needsRender = !0, this.tag.disable(), this.fiveDomEvents.removeEventListener(this.model, "click"), this.emit("disable");
|
|
@@ -58,5 +59,5 @@ class B extends a {
|
|
|
58
59
|
}
|
|
59
60
|
}
|
|
60
61
|
export {
|
|
61
|
-
|
|
62
|
+
I as ModelMakerBaseItem
|
|
62
63
|
};
|
|
@@ -7,6 +7,7 @@ import "../../shared-utils/tag.js";
|
|
|
7
7
|
import "../../shared-utils/positionToVector3.js";
|
|
8
8
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
9
9
|
import "../../shared-utils/five/getFiveModel.js";
|
|
10
|
+
import "../../shared-utils/three/raycaster.js";
|
|
10
11
|
import "../../shared-utils/three/boundingBox.js";
|
|
11
12
|
import "../../shared-utils/three/THREESphere.js";
|
|
12
13
|
import "../utils/getFiveDomEvent.js";
|
|
@@ -14,11 +15,11 @@ import "../../shared-utils/five/FiveDomEvents.js";
|
|
|
14
15
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
15
16
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
16
17
|
import "../../shared-utils/three/THREERaycaster.js";
|
|
17
|
-
class
|
|
18
|
+
class y extends r {
|
|
18
19
|
constructor(...o) {
|
|
19
20
|
super(...o);
|
|
20
21
|
}
|
|
21
22
|
}
|
|
22
23
|
export {
|
|
23
|
-
|
|
24
|
+
y as ModelMakerBoxItem
|
|
24
25
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var o = (t, e, i) => (
|
|
1
|
+
var r = Object.defineProperty;
|
|
2
|
+
var s = (t, e, i) => e in t ? r(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i;
|
|
3
|
+
var o = (t, e, i) => (s(t, typeof e != "symbol" ? e + "" : e, i), i);
|
|
4
4
|
import { ModelMakerBaseItem as h } from "./baseItem.js";
|
|
5
5
|
import "three";
|
|
6
6
|
import "../../shared-utils/three/addIfNotExists.js";
|
|
@@ -9,6 +9,7 @@ import "../../shared-utils/tag.js";
|
|
|
9
9
|
import "../../shared-utils/positionToVector3.js";
|
|
10
10
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
11
11
|
import "../../shared-utils/five/getFiveModel.js";
|
|
12
|
+
import "../../shared-utils/three/raycaster.js";
|
|
12
13
|
import "../../shared-utils/three/boundingBox.js";
|
|
13
14
|
import "../../shared-utils/three/THREESphere.js";
|
|
14
15
|
import "../utils/getFiveDomEvent.js";
|
|
@@ -16,7 +17,7 @@ import "../../shared-utils/five/FiveDomEvents.js";
|
|
|
16
17
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
17
18
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
18
19
|
import "../../shared-utils/three/THREERaycaster.js";
|
|
19
|
-
class
|
|
20
|
+
class x extends h {
|
|
20
21
|
constructor(...i) {
|
|
21
22
|
super(...i);
|
|
22
23
|
o(this, "hideTag", () => {
|
|
@@ -38,5 +39,5 @@ class w extends h {
|
|
|
38
39
|
}
|
|
39
40
|
}
|
|
40
41
|
export {
|
|
41
|
-
|
|
42
|
+
x as ModelMakerPolygonItem
|
|
42
43
|
};
|
|
@@ -20,17 +20,18 @@ import "../../shared-utils/tag.js";
|
|
|
20
20
|
import "../../shared-utils/positionToVector3.js";
|
|
21
21
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
22
22
|
import "../../shared-utils/five/getFiveModel.js";
|
|
23
|
+
import "../../shared-utils/three/raycaster.js";
|
|
23
24
|
import "../utils/getFiveDomEvent.js";
|
|
24
25
|
import "../../shared-utils/five/FiveDomEvents.js";
|
|
25
26
|
import "../../shared-utils/three/getObjectVisible.js";
|
|
26
27
|
import "../../shared-utils/five/calculateThreeMouse.js";
|
|
27
28
|
import "../../shared-utils/three/THREERaycaster.js";
|
|
28
|
-
class
|
|
29
|
+
class y extends f {
|
|
29
30
|
constructor(...o) {
|
|
30
31
|
const r = o[0], m = M(r.model), a = new u.Vector3().lerpVectors(n(m, 0), n(m, 5), 0.5);
|
|
31
32
|
super(s(i({}, r), { position: a })), this.enable();
|
|
32
33
|
}
|
|
33
34
|
}
|
|
34
35
|
export {
|
|
35
|
-
|
|
36
|
+
y as ModelMakerPrismItem
|
|
36
37
|
};
|
|
@@ -33,24 +33,31 @@ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
|
33
33
|
import "../shared-utils/three/centerPoint.js";
|
|
34
34
|
import "../shared-utils/three/getObjectVisible.js";
|
|
35
35
|
import "hammerjs";
|
|
36
|
+
import "../Sculpt/Meshes/Line.js";
|
|
37
|
+
import "../Sculpt/typings/style.js";
|
|
38
|
+
import "../shared-utils/five/FiveLine.js";
|
|
36
39
|
import "@realsee/five/line";
|
|
40
|
+
import "../shared-utils/three/IObject3D.js";
|
|
41
|
+
import "../shared-utils/three/THREESphere.js";
|
|
42
|
+
import "animejs";
|
|
43
|
+
import "../shared-utils/isNil.js";
|
|
44
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
45
|
+
import "../shared-utils/tag.js";
|
|
46
|
+
import "../shared-utils/five/vector3ToScreen.js";
|
|
47
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
48
|
+
import "../shared-utils/three/raycaster.js";
|
|
37
49
|
import "../Sculpt/utils/Modules/Global.js";
|
|
38
50
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
39
51
|
import "../Object3DHelperPlugin/Controller.js";
|
|
40
52
|
import "../base/BasePlugin.js";
|
|
41
|
-
import "../shared-utils/three/THREESphere.js";
|
|
42
|
-
import "animejs";
|
|
43
53
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
44
54
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
45
55
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
46
56
|
import "../shared-utils/five/transformPosition.js";
|
|
47
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
48
57
|
import "../shared-utils/url/absoluteUrl.js";
|
|
49
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
50
58
|
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
51
59
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
52
60
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
53
|
-
import "../shared-utils/three/IObject3D.js";
|
|
54
61
|
import "../shared-utils/three/boundingBox.js";
|
|
55
62
|
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
56
63
|
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
@@ -65,7 +72,6 @@ import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
|
65
72
|
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
66
73
|
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
67
74
|
import "../shared-utils/threex/domevents/index.js";
|
|
68
|
-
import "../shared-utils/isNil.js";
|
|
69
75
|
import "../shared-utils/util.js";
|
|
70
76
|
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
71
77
|
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
@@ -94,20 +100,16 @@ import "../shared-utils/three/Assets/index.js";
|
|
|
94
100
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
95
101
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
96
102
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
97
|
-
import "../Sculpt/Meshes/Line.js";
|
|
98
|
-
import "../Sculpt/typings/style.js";
|
|
99
|
-
import "../shared-utils/five/FiveLine.js";
|
|
100
|
-
import "../shared-utils/tag.js";
|
|
101
|
-
import "../shared-utils/five/vector3ToScreen.js";
|
|
102
|
-
import "../Sculpt/utils/removeAllTag.js";
|
|
103
103
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
104
104
|
import "../shared-utils/isTouchDevice.js";
|
|
105
105
|
import "../shared-utils/five/getPosition.js";
|
|
106
106
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
107
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
108
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
107
109
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
108
110
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
109
111
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
110
|
-
const
|
|
112
|
+
const wt = (s, { videoElement: g }) => {
|
|
111
113
|
const e = {
|
|
112
114
|
videoMeshes: [],
|
|
113
115
|
videoTextureEnabled: !1,
|
|
@@ -250,6 +252,6 @@ const gt = (s, { videoElement: g }) => {
|
|
|
250
252
|
}), { enable: h, disable: u, load: L, dispose: V, state: e, css3DRenderPlugin: f };
|
|
251
253
|
};
|
|
252
254
|
export {
|
|
253
|
-
|
|
254
|
-
|
|
255
|
+
wt as ModelTVVideoPlugin,
|
|
256
|
+
wt as default
|
|
255
257
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ModelTVVideoPlugin as r } from "./Plugin.js";
|
|
2
|
-
import { DIRECTION as
|
|
2
|
+
import { DIRECTION as Qo } from "./typings.js";
|
|
3
3
|
import "three";
|
|
4
4
|
import "./utils/parseData.js";
|
|
5
5
|
import "../CSS3DRenderPlugin/index.js";
|
|
@@ -17,24 +17,31 @@ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
|
17
17
|
import "../shared-utils/three/centerPoint.js";
|
|
18
18
|
import "../shared-utils/three/getObjectVisible.js";
|
|
19
19
|
import "hammerjs";
|
|
20
|
+
import "../Sculpt/Meshes/Line.js";
|
|
21
|
+
import "../Sculpt/typings/style.js";
|
|
22
|
+
import "../shared-utils/five/FiveLine.js";
|
|
20
23
|
import "@realsee/five/line";
|
|
24
|
+
import "../shared-utils/three/IObject3D.js";
|
|
25
|
+
import "../shared-utils/three/THREESphere.js";
|
|
26
|
+
import "animejs";
|
|
27
|
+
import "../shared-utils/isNil.js";
|
|
28
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
29
|
+
import "../shared-utils/tag.js";
|
|
30
|
+
import "../shared-utils/five/vector3ToScreen.js";
|
|
31
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
32
|
+
import "../shared-utils/three/raycaster.js";
|
|
21
33
|
import "../Sculpt/utils/Modules/Global.js";
|
|
22
34
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
23
35
|
import "../Object3DHelperPlugin/Controller.js";
|
|
24
36
|
import "../base/BasePlugin.js";
|
|
25
|
-
import "../shared-utils/three/THREESphere.js";
|
|
26
|
-
import "animejs";
|
|
27
37
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
28
38
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
29
39
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
30
40
|
import "../shared-utils/five/transformPosition.js";
|
|
31
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
32
41
|
import "../shared-utils/url/absoluteUrl.js";
|
|
33
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
34
42
|
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
35
43
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
36
44
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
37
|
-
import "../shared-utils/three/IObject3D.js";
|
|
38
45
|
import "../shared-utils/three/boundingBox.js";
|
|
39
46
|
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
40
47
|
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
@@ -49,7 +56,6 @@ import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
|
49
56
|
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
50
57
|
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
51
58
|
import "../shared-utils/threex/domevents/index.js";
|
|
52
|
-
import "../shared-utils/isNil.js";
|
|
53
59
|
import "../shared-utils/util.js";
|
|
54
60
|
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
55
61
|
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
@@ -78,22 +84,18 @@ import "../shared-utils/three/Assets/index.js";
|
|
|
78
84
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
79
85
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
80
86
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
81
|
-
import "../Sculpt/Meshes/Line.js";
|
|
82
|
-
import "../Sculpt/typings/style.js";
|
|
83
|
-
import "../shared-utils/five/FiveLine.js";
|
|
84
|
-
import "../shared-utils/tag.js";
|
|
85
|
-
import "../shared-utils/five/vector3ToScreen.js";
|
|
86
|
-
import "../Sculpt/utils/removeAllTag.js";
|
|
87
87
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
88
88
|
import "../shared-utils/isTouchDevice.js";
|
|
89
89
|
import "../shared-utils/five/getPosition.js";
|
|
90
90
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
91
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
92
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
91
93
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
92
94
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
93
95
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
94
96
|
import "../PanoTagPlugin/Assets/Icon.js";
|
|
95
97
|
export {
|
|
96
|
-
|
|
98
|
+
Qo as DIRECTION,
|
|
97
99
|
r as ModelTVVideoPlugin,
|
|
98
100
|
r as default
|
|
99
101
|
};
|
|
@@ -47,14 +47,26 @@ import { waitFiveModelLoaded as T } from "../shared-utils/five/fiveModelLoad.js"
|
|
|
47
47
|
import { Subscribe as R } from "../shared-utils/Subscribe.js";
|
|
48
48
|
import "hammerjs";
|
|
49
49
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
50
|
+
import "../Sculpt/Meshes/Line.js";
|
|
51
|
+
import "../Sculpt/typings/style.js";
|
|
52
|
+
import "../shared-utils/five/FiveLine.js";
|
|
50
53
|
import "@realsee/five/line";
|
|
54
|
+
import "../shared-utils/positionToVector3.js";
|
|
55
|
+
import "../shared-utils/three/IObject3D.js";
|
|
56
|
+
import "../shared-utils/three/centerPoint.js";
|
|
57
|
+
import "animejs";
|
|
58
|
+
import "../shared-utils/isNil.js";
|
|
59
|
+
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
60
|
+
import "../shared-utils/tag.js";
|
|
61
|
+
import "../shared-utils/five/vector3ToScreen.js";
|
|
62
|
+
import "../shared-utils/five/getFiveModel.js";
|
|
63
|
+
import "../shared-utils/three/raycaster.js";
|
|
51
64
|
import "../Sculpt/utils/Modules/Global.js";
|
|
52
65
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
53
66
|
import "./Controller.js";
|
|
54
67
|
import "../shared-utils/five/FiveDomEvents.js";
|
|
55
68
|
import "../shared-utils/three/getObjectVisible.js";
|
|
56
69
|
import "../shared-utils/five/calculateThreeMouse.js";
|
|
57
|
-
import "../shared-utils/five/getFiveModel.js";
|
|
58
70
|
import "../shared-utils/three/THREERaycaster.js";
|
|
59
71
|
import "../shared-utils/three/PointSelector/index.js";
|
|
60
72
|
import "../shared-utils/three/PointSelector/utils/PointSelectorHelper.js";
|
|
@@ -64,10 +76,6 @@ import "../shared-utils/three/Assets/index.js";
|
|
|
64
76
|
import "../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
|
|
65
77
|
import "../CSS3DRenderPlugin/utils/even.js";
|
|
66
78
|
import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
67
|
-
import "../shared-utils/three/centerPoint.js";
|
|
68
|
-
import "animejs";
|
|
69
|
-
import "../shared-utils/isNil.js";
|
|
70
|
-
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
71
79
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
72
80
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
73
81
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
@@ -75,13 +83,11 @@ import "../shared-utils/five/transformPosition.js";
|
|
|
75
83
|
import "../shared-utils/url/absoluteUrl.js";
|
|
76
84
|
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
77
85
|
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
78
|
-
import "../shared-utils/three/IObject3D.js";
|
|
79
86
|
import "../shared-utils/three/boundingBox.js";
|
|
80
87
|
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
81
88
|
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
82
89
|
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
83
90
|
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
84
|
-
import "../shared-utils/positionToVector3.js";
|
|
85
91
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
86
92
|
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
87
93
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
@@ -104,16 +110,12 @@ import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
|
104
110
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
105
111
|
import "../shared-utils/five/initialCSS3DRender.js";
|
|
106
112
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
107
|
-
import "../Sculpt/Meshes/Line.js";
|
|
108
|
-
import "../Sculpt/typings/style.js";
|
|
109
|
-
import "../shared-utils/five/FiveLine.js";
|
|
110
|
-
import "../shared-utils/tag.js";
|
|
111
|
-
import "../shared-utils/five/vector3ToScreen.js";
|
|
112
|
-
import "../Sculpt/utils/removeAllTag.js";
|
|
113
113
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
114
114
|
import "../shared-utils/isTouchDevice.js";
|
|
115
115
|
import "../shared-utils/five/getPosition.js";
|
|
116
116
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
117
|
+
import "../Sculpt/utils/removeAllTag.js";
|
|
118
|
+
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
117
119
|
const w = "Object3DHelperPlugin", D = w, X = () => {
|
|
118
120
|
console.error(`${D} is disposed`);
|
|
119
121
|
}, Y = () => {
|
|
@@ -121,7 +123,7 @@ const w = "Object3DHelperPlugin", D = w, X = () => {
|
|
|
121
123
|
}, Z = () => {
|
|
122
124
|
console.error(`${D} is disabled`);
|
|
123
125
|
};
|
|
124
|
-
class
|
|
126
|
+
class _r extends L {
|
|
125
127
|
constructor(e) {
|
|
126
128
|
super(e);
|
|
127
129
|
f(this, "name", w);
|
|
@@ -293,6 +295,6 @@ class Wr extends L {
|
|
|
293
295
|
}
|
|
294
296
|
}
|
|
295
297
|
export {
|
|
296
|
-
|
|
298
|
+
_r as Object3DHelperController,
|
|
297
299
|
D as PLUGIN
|
|
298
300
|
};
|