@realsee/dnalogel 3.73.1 → 3.73.3
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/MeasurePlugin/Controller.d.ts +3 -4
- package/dist/MeasurePlugin/index.d.ts +2 -1
- package/dist/Sculpt/utils/export.d.ts +1 -0
- package/dist/index.cjs.js +71 -71
- package/dist/index.js +4893 -4894
- package/dist/index.umd.js +76 -76
- package/dist/shared-utils/three/index.d.ts +2 -0
- package/libs/AreaMakerPlugin/Controller.js +3 -2
- package/libs/AreaMakerPlugin/index.js +3 -2
- package/libs/AreaMakerPlugin/utils/Item.js +80 -79
- package/libs/CSS3DRenderPlugin/Controller.js +3 -2
- package/libs/CSS3DRenderPlugin/index.js +6 -5
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -2
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +1 -0
- package/libs/CruisePlugin/BaseController.js +5 -4
- package/libs/CruisePlugin/Move.js +1 -1
- package/libs/CruisePlugin/Work.js +1 -1
- package/libs/CruisePlugin/index.js +1 -1
- package/libs/CurrentPanoImagePlugin/Controller.js +3 -2
- package/libs/CurrentPanoImagePlugin/index.js +4 -3
- package/libs/GuideLinePlugin/Controller.js +1 -1
- package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/MeasurePlugin/Controller.d.ts +3 -4
- package/libs/MeasurePlugin/Controller.js +29 -29
- package/libs/MeasurePlugin/index.d.ts +2 -1
- package/libs/MeasurePlugin/index.js +6 -5
- package/libs/MeasurePlugin/utils/MeasureMesh.js +1 -1
- package/libs/ModelChassisCompassPlugin/Plugin.js +4 -3
- package/libs/ModelChassisCompassPlugin/index.js +1 -0
- package/libs/ModelEntryDoorGuidePlugin/Plugin.js +6 -5
- package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
- package/libs/ModelMakerPlugin/Controller.js +1 -1
- package/libs/ModelMakerPlugin/index.js +1 -1
- package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
- package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
- package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
- package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
- package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
- package/libs/ModelTVVideoPlugin/index.js +3 -2
- package/libs/ModelViewPlugin/Plugin.js +4 -3
- package/libs/ModelViewPlugin/index.js +1 -0
- package/libs/Object3DHelperPlugin/Controller.js +18 -17
- package/libs/Object3DHelperPlugin/index.js +6 -5
- package/libs/PanoCompassPlugin/Controller.js +3 -2
- package/libs/PanoCompassPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/Controller.js +3 -2
- package/libs/PanoDoorLabelPlugin/index.js +4 -3
- package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -1
- package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
- package/libs/PanoMeasurePlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
- package/libs/PanoRulerProPlugin/Controller.js +3 -2
- package/libs/PanoRulerProPlugin/RulerItems.js +3 -2
- package/libs/PanoRulerProPlugin/index.js +4 -3
- package/libs/PanoSpatialTagPlugin/Plugin.js +4 -3
- package/libs/PanoSpatialTagPlugin/index.js +1 -0
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +3 -2
- package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +3 -2
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +233 -232
- package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
- package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
- package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +3 -2
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +22 -21
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +1 -1
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
- package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
- package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/PanoTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
- package/libs/PanoTagPlugin/utils/tag/format.js +3 -2
- package/libs/PanoVideoPlugin/Controller.js +3 -2
- package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
- package/libs/PanoVideoPlugin/index.js +6 -5
- package/libs/PipelinePlugin/Controller.js +95 -94
- package/libs/PipelinePlugin/index.js +4 -3
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +22 -21
- package/libs/Sculpt/Meshes/Circle.js +3 -2
- package/libs/Sculpt/Meshes/Cylinder.js +3 -2
- package/libs/Sculpt/Meshes/Line.js +3 -2
- package/libs/Sculpt/Meshes/LineWithDots.js +5 -4
- package/libs/Sculpt/Meshes/Point.js +3 -2
- package/libs/Sculpt/Meshes/Rectangle.js +4 -3
- package/libs/Sculpt/Objects/Base/index.js +1 -0
- package/libs/Sculpt/Objects/Line/Editor.js +7 -6
- package/libs/Sculpt/index.js +19 -18
- package/libs/Sculpt/utils/export.d.ts +1 -0
- package/libs/Sculpt/utils/export.js +23 -20
- package/libs/Sculpt/utils/three/ColoredMesh.js +3 -2
- package/libs/base/BasePlugin.js +8 -7
- package/libs/floorplan/FloorplanGuidePlugin/Controller.js +3 -2
- package/libs/floorplan/FloorplanGuidePlugin/index.js +4 -3
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
- package/libs/floorplan/index.js +1 -0
- package/libs/index.js +146 -145
- package/libs/shared-utils/CSS3DRender/CSS3DObject.js +3 -2
- package/libs/shared-utils/exports.js +62 -55
- package/libs/shared-utils/five/index.js +4 -3
- package/libs/shared-utils/five/lookObject.js +3 -2
- package/libs/shared-utils/index.js +1 -0
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.js +3 -2
- package/libs/shared-utils/three/PointDomHelper.js +3 -2
- package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -2
- package/libs/shared-utils/three/geometryUtil.js +12 -8
- package/libs/shared-utils/three/index.d.ts +2 -0
- package/libs/shared-utils/three/index.js +1 -0
- package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +139 -151
- package/package.json +1 -1
|
@@ -40,6 +40,7 @@ import "../shared-utils/three/core/Sphere.js";
|
|
|
40
40
|
import "../shared-utils/three/blink.js";
|
|
41
41
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
42
42
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
43
|
+
import "../vendor/earcut/src/earcut.js";
|
|
43
44
|
import { equal as I } from "../shared-utils/equal.js";
|
|
44
45
|
import "../shared-utils/five/FivePuppet.js";
|
|
45
46
|
import { AreaMakerItem as D } from "./utils/Item.js";
|
|
@@ -110,7 +111,7 @@ import "../components/AreaLabel/Assets/fontSize.js";
|
|
|
110
111
|
import "../shared-utils/px2rem.js";
|
|
111
112
|
import "../shared-utils/math/planimetry.js";
|
|
112
113
|
import "../shared-utils/fontSize.js";
|
|
113
|
-
class
|
|
114
|
+
class oe extends k {
|
|
114
115
|
/** AreaMakerPlugin
|
|
115
116
|
* @param `five` `<Five>` Five 实例
|
|
116
117
|
* @param `params` `<PluginType.Params> | <undefined>` 插件初始化参数
|
|
@@ -385,5 +386,5 @@ class ie extends k {
|
|
|
385
386
|
}
|
|
386
387
|
}
|
|
387
388
|
export {
|
|
388
|
-
|
|
389
|
+
oe as Controller
|
|
389
390
|
};
|
|
@@ -43,6 +43,7 @@ import "../shared-utils/createResizeObserver.js";
|
|
|
43
43
|
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
44
44
|
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
45
45
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
46
|
+
import "../vendor/earcut/src/earcut.js";
|
|
46
47
|
import "../shared-utils/five/FivePuppet.js";
|
|
47
48
|
import "@realsee/five";
|
|
48
49
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
@@ -82,7 +83,7 @@ import "../components/AreaLabel/Assets/fontSize.js";
|
|
|
82
83
|
import "../shared-utils/px2rem.js";
|
|
83
84
|
import "../shared-utils/math/planimetry.js";
|
|
84
85
|
import "../shared-utils/fontSize.js";
|
|
85
|
-
const
|
|
86
|
+
const Gr = (r, o) => new t(r, o);
|
|
86
87
|
export {
|
|
87
|
-
|
|
88
|
+
Gr as AreaMakerPlugin
|
|
88
89
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var b = Object.defineProperty;
|
|
2
|
-
var k = (n,
|
|
3
|
-
var
|
|
2
|
+
var k = (n, i, t) => i in n ? b(n, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[i] = t;
|
|
3
|
+
var e = (n, i, t) => (k(n, typeof i != "symbol" ? i + "" : i, t), t);
|
|
4
4
|
import * as r from "three";
|
|
5
5
|
import "../../shared-utils/tag.js";
|
|
6
6
|
import "../../vendor/hammerjs/hammer.js";
|
|
@@ -16,6 +16,7 @@ import "../../shared-utils/three/core/Sphere.js";
|
|
|
16
16
|
import "../../shared-utils/three/blink.js";
|
|
17
17
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
18
18
|
import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
19
|
+
import "../../vendor/earcut/src/earcut.js";
|
|
19
20
|
import { BetterTween as O } from "../../shared-utils/animationFrame/BetterTween.js";
|
|
20
21
|
import "../../shared-utils/five/FivePuppet.js";
|
|
21
22
|
import { LabelItem as v } from "../../components/AreaLabel/LabelItem.js";
|
|
@@ -81,80 +82,80 @@ import "../../shared-utils/px2rem.js";
|
|
|
81
82
|
class P extends y {
|
|
82
83
|
constructor(t) {
|
|
83
84
|
super();
|
|
84
|
-
|
|
85
|
+
e(this, "areaMakerItem");
|
|
85
86
|
this.areaMakerItem = t;
|
|
86
87
|
}
|
|
87
88
|
raycast(t, s) {
|
|
88
89
|
this.areaMakerItem.makerObject.raycast(t, s);
|
|
89
90
|
}
|
|
90
91
|
}
|
|
91
|
-
class
|
|
92
|
-
constructor(
|
|
93
|
-
|
|
92
|
+
class ti {
|
|
93
|
+
constructor(i, t) {
|
|
94
|
+
e(this, "id");
|
|
94
95
|
/** 标注名称 */
|
|
95
|
-
|
|
96
|
+
e(this, "name", "");
|
|
96
97
|
/** 标注几何体 */
|
|
97
|
-
|
|
98
|
+
e(this, "makerObject");
|
|
98
99
|
/** 标注几何体的边框 */
|
|
99
|
-
|
|
100
|
+
e(this, "outline");
|
|
100
101
|
/** 标注底面 Y 坐标 */
|
|
101
|
-
|
|
102
|
+
e(this, "bottomY");
|
|
102
103
|
/** 标注透明度 */
|
|
103
|
-
|
|
104
|
+
e(this, "opacity");
|
|
104
105
|
/** 标注高度 */
|
|
105
|
-
|
|
106
|
+
e(this, "height");
|
|
106
107
|
/** 标注所在楼层 */
|
|
107
|
-
|
|
108
|
+
e(this, "floorIndex");
|
|
108
109
|
/** 标注底面形状 */
|
|
109
|
-
|
|
110
|
+
e(this, "shape");
|
|
110
111
|
/** 是否被挂载 */
|
|
111
|
-
|
|
112
|
+
e(this, "mounted", !1);
|
|
112
113
|
/** 查询问题使用的调试对象 */
|
|
113
|
-
|
|
114
|
+
e(this, "checkMsg", {
|
|
114
115
|
/** 当标注没有展示时,可以通过这个字段查看原因 */
|
|
115
116
|
checkVisibleMsg: "",
|
|
116
117
|
/** 当标注标签没有展示时,可以通过这个字段查看原因 */
|
|
117
118
|
checkTagVisibleMsg: ""
|
|
118
119
|
});
|
|
119
120
|
/** 模型容器 */
|
|
120
|
-
|
|
121
|
+
e(this, "modelGroup");
|
|
121
122
|
/** 标注是否可见 */
|
|
122
|
-
|
|
123
|
+
e(this, "visible", !0);
|
|
123
124
|
// ==================== 标签相关 ====================
|
|
124
125
|
/** 标注标签实例 */
|
|
125
|
-
|
|
126
|
+
e(this, "tagApp");
|
|
126
127
|
/** 标注标签是否可见 */
|
|
127
|
-
|
|
128
|
+
e(this, "tagVisible", null);
|
|
128
129
|
/** 标注标签的世界坐标 */
|
|
129
|
-
|
|
130
|
+
e(this, "tagPosition", new r.Vector3());
|
|
130
131
|
/** 标注标签的 NDC 坐标 */
|
|
131
|
-
|
|
132
|
+
e(this, "tagNDCPosition", new r.Vector3());
|
|
132
133
|
/** 标注标签的 transform */
|
|
133
|
-
|
|
134
|
+
e(this, "tagTransform", { left: 0, top: 0 });
|
|
134
135
|
/** 标注标签的显示层级 */
|
|
135
|
-
|
|
136
|
+
e(this, "tagZIndex", 0);
|
|
136
137
|
/** 标注实例的事件处理器 */
|
|
137
|
-
|
|
138
|
+
e(this, "hooks", new T());
|
|
138
139
|
/** 自定义 Dom */
|
|
139
|
-
|
|
140
|
+
e(this, "itemRenderer");
|
|
140
141
|
/** 数据 */
|
|
141
|
-
|
|
142
|
+
e(this, "data");
|
|
142
143
|
/** Plugin 实例 */
|
|
143
|
-
|
|
144
|
+
e(this, "plugin");
|
|
144
145
|
/** 标注透明度动画 */
|
|
145
|
-
|
|
146
|
+
e(this, "opacityAnime");
|
|
146
147
|
/** 是否在容器 resize 动画中 */
|
|
147
|
-
|
|
148
|
+
e(this, "isInContainerResizeAnimation", !1);
|
|
148
149
|
/** 监听容器 resize 的计时器 id,用于判断 resize 过程是否结束 */
|
|
149
|
-
|
|
150
|
+
e(this, "containerResizeTimeoutID", null);
|
|
150
151
|
/** 容器大小变化监听器 */
|
|
151
|
-
|
|
152
|
+
e(this, "resizeObserver");
|
|
152
153
|
/** 响应式字体大小管理器 */
|
|
153
|
-
|
|
154
|
+
e(this, "fontSizeManager", V());
|
|
154
155
|
/** 当前字体大小 */
|
|
155
|
-
|
|
156
|
+
e(this, "currentFontSize", j());
|
|
156
157
|
/** 字体大小订阅取消函数 */
|
|
157
|
-
|
|
158
|
+
e(this, "unsubscribeFontSize", null);
|
|
158
159
|
/** 显示标注 */
|
|
159
160
|
// public show() {
|
|
160
161
|
// return this.doOpacityAnime({
|
|
@@ -174,10 +175,10 @@ class Qt {
|
|
|
174
175
|
// })
|
|
175
176
|
// }
|
|
176
177
|
/** 透明度动画 */
|
|
177
|
-
|
|
178
|
+
e(this, "doOpacityAnime", (i) => {
|
|
178
179
|
var p;
|
|
179
180
|
(p = this.opacityAnime) == null || p.dispose();
|
|
180
|
-
const t =
|
|
181
|
+
const t = i.duration, [s, o] = i.makerObjectOpacity, [h, a] = i.outlineOpacity;
|
|
181
182
|
if (t === 0) {
|
|
182
183
|
this.makerObject.material.opacity = o, this.outline.material.opacity = a;
|
|
183
184
|
return;
|
|
@@ -194,53 +195,53 @@ class Qt {
|
|
|
194
195
|
});
|
|
195
196
|
});
|
|
196
197
|
/** 插件 Config 变化时更新自身 depthTest */
|
|
197
|
-
|
|
198
|
-
this.makerObject.material.depthTest =
|
|
198
|
+
e(this, "onPluginConfigChange", (i) => {
|
|
199
|
+
this.makerObject.material.depthTest = i.config.modelDepthTest, this.outline.material.depthTest = i.config.modelDepthTest, this.plugin.five.needsRender = !0;
|
|
199
200
|
});
|
|
200
201
|
/** 插件整体可见性变化时,需要更新自身可见性 */
|
|
201
|
-
|
|
202
|
+
e(this, "onPluginStateChange", () => {
|
|
202
203
|
this.updateVisible(), this.updateTagVisible();
|
|
203
204
|
});
|
|
204
205
|
/** 更新标注可见性 */
|
|
205
|
-
|
|
206
|
+
e(this, "updateVisible", () => {
|
|
206
207
|
var o;
|
|
207
|
-
const { result:
|
|
208
|
-
if (this.checkMsg.checkVisibleMsg = t, this.visible ===
|
|
208
|
+
const { result: i, msg: t } = this.checkVisible();
|
|
209
|
+
if (this.checkMsg.checkVisibleMsg = t, this.visible === i)
|
|
209
210
|
return;
|
|
210
|
-
this.visible =
|
|
211
|
+
this.visible = i;
|
|
211
212
|
const s = (o = this.data.object_data.visible) != null ? o : !0;
|
|
212
|
-
this.modelGroup.visible =
|
|
213
|
+
this.modelGroup.visible = i && s, this.plugin.five.needsRender = !0;
|
|
213
214
|
});
|
|
214
215
|
/** 检测标注是否可见 */
|
|
215
|
-
|
|
216
|
+
e(this, "checkVisible", () => {
|
|
216
217
|
if (!this.plugin.state.visible)
|
|
217
218
|
return { result: !1, msg: "插件不可见" };
|
|
218
219
|
const t = this.plugin.fiveUtil.model.shownFloor;
|
|
219
220
|
return t === null || t === this.floorIndex ? { result: !0, msg: "" } : { result: !1, msg: `模型高亮楼层不符合展示条件, 当前高亮楼层为:${t}` };
|
|
220
221
|
});
|
|
221
222
|
/** 更新标注标签 */
|
|
222
|
-
|
|
223
|
+
e(this, "updateTag", () => {
|
|
223
224
|
this.tagApp && (this.updateTagNDCPosition(), this.updateTagDomTransform(), this.updateTagVisible());
|
|
224
225
|
});
|
|
225
226
|
/** 更新标注标签的 NDC Position */
|
|
226
|
-
|
|
227
|
+
e(this, "updateTagNDCPosition", () => {
|
|
227
228
|
const t = this.tagPosition.clone().project(this.plugin.five.camera);
|
|
228
229
|
this.tagNDCPosition.copy(t);
|
|
229
230
|
});
|
|
230
231
|
/** 更新标注标签的 transform */
|
|
231
|
-
|
|
232
|
+
e(this, "updateTagDomTransform", () => {
|
|
232
233
|
var o;
|
|
233
|
-
const
|
|
234
|
+
const i = this.tagNDCPosition, t = Math.round((i.x + 1) / 2 * this.plugin.tagDomContainer.clientWidth), s = Math.round((-i.y + 1) / 2 * this.plugin.tagDomContainer.clientHeight);
|
|
234
235
|
this.tagTransform.left === t && this.tagTransform.top === s || (this.tagTransform = { left: t, top: s }, (o = this.tagApp) == null || o.$set({ transform: `translate(${t}px, ${s}px)` }));
|
|
235
236
|
});
|
|
236
237
|
/** 更新标注标签可见性 */
|
|
237
|
-
|
|
238
|
+
e(this, "updateTagVisible", () => {
|
|
238
239
|
var s;
|
|
239
|
-
const { result:
|
|
240
|
-
this.checkMsg.checkTagVisibleMsg = t, this.tagVisible !==
|
|
240
|
+
const { result: i, msg: t } = this.checkTagVisible();
|
|
241
|
+
this.checkMsg.checkTagVisibleMsg = t, this.tagVisible !== i && (this.tagVisible = i, this.tagApp && (this.tagVisible ? this.hooks.emit("tagShow") : this.hooks.emit("tagHide"), (s = this.tagApp) == null || s.$set({ visible: i })));
|
|
241
242
|
});
|
|
242
243
|
/** 检测标注标签是否可见 */
|
|
243
|
-
|
|
244
|
+
e(this, "checkTagVisible", () => {
|
|
244
245
|
if (!this.visible)
|
|
245
246
|
return { result: !1, msg: "标注整体不可见" };
|
|
246
247
|
if (this.isInContainerResizeAnimation)
|
|
@@ -254,11 +255,11 @@ class Qt {
|
|
|
254
255
|
return Math.abs(a.x) > 1.2 || Math.abs(a.y) > 1.2 || Math.abs(a.z) > 1 ? { result: !1, msg: "标注标签不在屏幕内" } : { result: !0, msg: "" };
|
|
255
256
|
});
|
|
256
257
|
/** 相机位姿发生变化时,更新标签 */
|
|
257
|
-
|
|
258
|
+
e(this, "onFiveCameraUpdate", () => {
|
|
258
259
|
this.tagApp && this.visible && (this.updateTagNDCPosition(), this.updateTagDomTransform(), this.updateTagVisible());
|
|
259
260
|
});
|
|
260
261
|
/** tag container DOM 发生 resize */
|
|
261
|
-
|
|
262
|
+
e(this, "onContainerResize", () => {
|
|
262
263
|
this.isInContainerResizeAnimation === !1 && (this.isInContainerResizeAnimation = !0, this.updateTag());
|
|
263
264
|
const t = () => {
|
|
264
265
|
this.isInContainerResizeAnimation = !1, this.containerResizeTimeoutID = null, this.updateTag();
|
|
@@ -266,12 +267,12 @@ class Qt {
|
|
|
266
267
|
this.containerResizeTimeoutID && clearTimeout(this.containerResizeTimeoutID), this.containerResizeTimeoutID = setTimeout(t, 100);
|
|
267
268
|
});
|
|
268
269
|
/** 更新标注字体大小 */
|
|
269
|
-
|
|
270
|
+
e(this, "updateTagFontSize", () => {
|
|
270
271
|
this.tagApp && this.tagApp.$set({ fontSize: this.currentFontSize });
|
|
271
272
|
});
|
|
272
273
|
var m, l, c, g;
|
|
273
274
|
const s = t.object_data, o = s.bottom_y, h = s.height, a = new r.Color((m = s.color) != null ? m : "#FFFFFF"), p = (l = s.opacity) != null ? l : 0.4;
|
|
274
|
-
this.data = t, this.id = t.id, this.name = (c = t.name) != null ? c : "", this.plugin =
|
|
275
|
+
this.data = t, this.id = t.id, this.name = (c = t.name) != null ? c : "", this.plugin = i, this.height = h, this.bottomY = o, this.opacity = p, this.shape = new r.Shape().fromJSON(s.shape), this.floorIndex = t.floor_index, this.makerObject = new r.Mesh(d(this.shape, h), S(a, p)), u(this.makerObject, o), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new C(
|
|
275
276
|
new r.EdgesGeometry(this.makerObject.geometry),
|
|
276
277
|
new r.LineBasicMaterial({ color: a, transparent: !0 })
|
|
277
278
|
), u(this.outline, o), this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.setHeight(h), this.modelGroup = new P(this), this.modelGroup.visible = (g = s.visible) != null ? g : !0;
|
|
@@ -281,8 +282,8 @@ class Qt {
|
|
|
281
282
|
if (this.mounted)
|
|
282
283
|
return;
|
|
283
284
|
this.mounted = !0, this.updateVisible(), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.modelGroup.add(this.makerObject, this.outline);
|
|
284
|
-
const
|
|
285
|
-
|
|
285
|
+
const i = !!this.name, t = this.plugin.tagDomContainer;
|
|
286
|
+
i && (this.tagApp = new v({
|
|
286
287
|
target: t,
|
|
287
288
|
props: {
|
|
288
289
|
fontSize: this.currentFontSize,
|
|
@@ -299,32 +300,32 @@ class Qt {
|
|
|
299
300
|
}
|
|
300
301
|
/** 卸载标注 */
|
|
301
302
|
unmount() {
|
|
302
|
-
var
|
|
303
|
-
this.mounted && (this.mounted = !1, this.modelGroup.remove(...this.modelGroup.children), (
|
|
303
|
+
var i, t, s;
|
|
304
|
+
this.mounted && (this.mounted = !1, this.modelGroup.remove(...this.modelGroup.children), (i = this.tagApp) == null || i.$destroy(), this.tagApp = null, this.plugin.hooks.off("stateChange", this.onPluginStateChange), this.plugin.hooks.off("configChange", this.onPluginConfigChange), this.plugin.five.off("modeChange", this.updateVisible), this.plugin.five.off("modelShownFloorChange", this.updateVisible), this.plugin.five.off("cameraUpdate", this.onFiveCameraUpdate), (t = this.resizeObserver) == null || t.unobserve(), (s = this.unsubscribeFontSize) == null || s.call(this));
|
|
304
305
|
}
|
|
305
306
|
/** 更改标注透明度
|
|
306
307
|
* @param opacity 标注透明度,范围:0-1
|
|
307
308
|
*/
|
|
308
|
-
setOpacity(
|
|
309
|
+
setOpacity(i) {
|
|
309
310
|
var t;
|
|
310
|
-
this.opacity =
|
|
311
|
+
this.opacity = i, (t = this.opacityAnime) == null || t.dispose(), this.makerObject.material.opacity = i, this.plugin.five.needsRender = !0;
|
|
311
312
|
}
|
|
312
313
|
/** 更改标注颜色
|
|
313
314
|
* @param color 标注颜色,支持 hex
|
|
314
315
|
* @example setColor('#FF0000')
|
|
315
316
|
*/
|
|
316
|
-
setColor(
|
|
317
|
-
const t = new r.Color(
|
|
317
|
+
setColor(i) {
|
|
318
|
+
const t = new r.Color(i);
|
|
318
319
|
this.makerObject.material.color = t, this.outline.material.color = t, this.plugin.five.needsRender = !0;
|
|
319
320
|
}
|
|
320
321
|
/** 更改标注高度
|
|
321
322
|
* @param height 标注高度,单位:米
|
|
322
323
|
*/
|
|
323
|
-
setHeight(
|
|
324
|
-
if (
|
|
324
|
+
setHeight(i) {
|
|
325
|
+
if (i <= 0)
|
|
325
326
|
throw new Error("高度必须大于 0");
|
|
326
|
-
this.height =
|
|
327
|
-
const t = this.shape.extractPoints(10).shape.slice(0, -1), s = M(t), o = new r.Vector3(s.x, s.y,
|
|
327
|
+
this.height = i, this.makerObject.geometry = d(this.shape, i), this.outline.geometry = new r.EdgesGeometry(this.makerObject.geometry);
|
|
328
|
+
const t = this.shape.extractPoints(10).shape.slice(0, -1), s = M(t), o = new r.Vector3(s.x, s.y, i);
|
|
328
329
|
u(o, this.bottomY), this.tagPosition.copy(o), this.updateTag(), this.plugin.five.needsRender = !0;
|
|
329
330
|
}
|
|
330
331
|
/** 更改标注标签的显示层级
|
|
@@ -335,28 +336,28 @@ class Qt {
|
|
|
335
336
|
* - 标签 A <- 标签 B <- 相机: 标签 A 在标签 B 的后面
|
|
336
337
|
* 但是当前元素是无法感知到这种变化的,所以需要通过父元素调用这个方法来更新标签的层级。
|
|
337
338
|
*/
|
|
338
|
-
setTagZIndex(
|
|
339
|
+
setTagZIndex(i) {
|
|
339
340
|
var t;
|
|
340
|
-
this.tagZIndex !==
|
|
341
|
+
this.tagZIndex !== i && ((t = this.tagApp) == null || t.$set({ zIndex: i }));
|
|
341
342
|
}
|
|
342
343
|
}
|
|
343
|
-
function d(n,
|
|
344
|
+
function d(n, i) {
|
|
344
345
|
return new r.ExtrudeBufferGeometry(n, {
|
|
345
|
-
depth:
|
|
346
|
+
depth: i,
|
|
346
347
|
bevelEnabled: !1
|
|
347
348
|
});
|
|
348
349
|
}
|
|
349
|
-
function S(n,
|
|
350
|
+
function S(n, i) {
|
|
350
351
|
return new r.MeshBasicMaterial({
|
|
351
352
|
color: n,
|
|
352
|
-
opacity:
|
|
353
|
+
opacity: i,
|
|
353
354
|
transparent: !0
|
|
354
355
|
});
|
|
355
356
|
}
|
|
356
|
-
function u(n,
|
|
357
|
-
const t = new r.Matrix4(), s = new r.Matrix4().makeRotationX(Math.PI / 2), o = new r.Matrix4().makeTranslation(0, 0, -
|
|
357
|
+
function u(n, i) {
|
|
358
|
+
const t = new r.Matrix4(), s = new r.Matrix4().makeRotationX(Math.PI / 2), o = new r.Matrix4().makeTranslation(0, 0, -i), h = new r.Matrix4().makeScale(1, 1, -1);
|
|
358
359
|
t.multiply(s), t.multiply(o), t.multiply(h), n.applyMatrix4(t);
|
|
359
360
|
}
|
|
360
361
|
export {
|
|
361
|
-
|
|
362
|
+
ti as AreaMakerItem
|
|
362
363
|
};
|
|
@@ -24,6 +24,7 @@ import "../shared-utils/three/core/Five_LineMaterial2.js";
|
|
|
24
24
|
import "../shared-utils/three/core/Sphere.js";
|
|
25
25
|
import "../shared-utils/three/blink.js";
|
|
26
26
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
27
|
+
import "../vendor/earcut/src/earcut.js";
|
|
27
28
|
import { DEFAULT_STATIC_PREFIX as j } from "../shared-utils/url/defaultUrls.js";
|
|
28
29
|
import "../shared-utils/five/FivePuppet.js";
|
|
29
30
|
import "../shared-utils/positionToVector3.js";
|
|
@@ -78,7 +79,7 @@ import "../Sculpt/utils/three/rayOnLine.js";
|
|
|
78
79
|
import "../vendor/animejs/lib/anime.es.js";
|
|
79
80
|
import "@realsee/five";
|
|
80
81
|
const f = "v2.0.1", E = `CSS3DRenderPlugin@${f}`;
|
|
81
|
-
class
|
|
82
|
+
class ke extends T {
|
|
82
83
|
constructor(e) {
|
|
83
84
|
super();
|
|
84
85
|
n(this, "five");
|
|
@@ -185,5 +186,5 @@ class Xe extends T {
|
|
|
185
186
|
}
|
|
186
187
|
export {
|
|
187
188
|
E as PLUGIN_NAME,
|
|
188
|
-
|
|
189
|
+
ke as default
|
|
189
190
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import o from "./Controller.js";
|
|
2
|
-
import { CSS3DRender as
|
|
2
|
+
import { CSS3DRender as Rr } from "./utils/three/CSS3DRender.js";
|
|
3
3
|
import "./utils/generateBehindFiveElement.js";
|
|
4
4
|
import "../shared-utils/tag.js";
|
|
5
5
|
import "../shared-utils/positionToVector3.js";
|
|
@@ -36,6 +36,7 @@ import "../shared-utils/three/blink.js";
|
|
|
36
36
|
import "../vendor/animejs/lib/anime.es.js";
|
|
37
37
|
import "../shared-utils/util.js";
|
|
38
38
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
39
|
+
import "../vendor/earcut/src/earcut.js";
|
|
39
40
|
import "../shared-utils/five/FivePuppet.js";
|
|
40
41
|
import "@realsee/five";
|
|
41
42
|
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
@@ -65,9 +66,9 @@ import "../shared-utils/url/defaultUrls.js";
|
|
|
65
66
|
import "./utils/three/CSS3DScene.js";
|
|
66
67
|
import "./utils/getAllCSS3DObject.js";
|
|
67
68
|
import "./utils/three/CSS3DGroup.js";
|
|
68
|
-
const
|
|
69
|
+
const ur = (r) => new o(r);
|
|
69
70
|
export {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
Rr as CSS3DRender,
|
|
72
|
+
ur as CSS3DRenderPlugin,
|
|
73
|
+
ur as default
|
|
73
74
|
};
|
|
@@ -19,6 +19,7 @@ import "../../../shared-utils/three/core/Sphere.js";
|
|
|
19
19
|
import "../../../shared-utils/three/blink.js";
|
|
20
20
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
21
21
|
import "./CSS3DRender.js";
|
|
22
|
+
import "../../../vendor/earcut/src/earcut.js";
|
|
22
23
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
23
24
|
import "../../../shared-utils/positionToVector3.js";
|
|
24
25
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
@@ -67,7 +68,7 @@ import "../getAllCSS3DObject.js";
|
|
|
67
68
|
import "./CSS3DGroup.js";
|
|
68
69
|
import "@realsee/five";
|
|
69
70
|
const $ = 1, W = `CSS3DObjectPlus@${$}`, k = 216e-5, z = 3e-3;
|
|
70
|
-
class
|
|
71
|
+
class ei extends T {
|
|
71
72
|
constructor(t) {
|
|
72
73
|
var x, b, w, g, V;
|
|
73
74
|
if (O(t.cornerPoints) && O(t.width))
|
|
@@ -173,7 +174,7 @@ class ii extends T {
|
|
|
173
174
|
}
|
|
174
175
|
}
|
|
175
176
|
export {
|
|
176
|
-
|
|
177
|
+
ei as CSS3DObjectPlus,
|
|
177
178
|
z as DefaultRatio,
|
|
178
179
|
k as MinRatio
|
|
179
180
|
};
|
|
@@ -83,6 +83,7 @@ import "../../../shared-utils/three/blink.js";
|
|
|
83
83
|
import "../../../vendor/animejs/lib/anime.es.js";
|
|
84
84
|
import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
85
85
|
import "./CSS3DRender.js";
|
|
86
|
+
import "../../../vendor/earcut/src/earcut.js";
|
|
86
87
|
import "../../../shared-utils/five/FivePuppet.js";
|
|
87
88
|
import "@realsee/five";
|
|
88
89
|
import "./CSS3DSprite.js";
|
|
@@ -39,6 +39,7 @@ import "../shared-utils/three/core/Sphere.js";
|
|
|
39
39
|
import "../shared-utils/three/blink.js";
|
|
40
40
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
41
41
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
42
|
+
import "../vendor/earcut/src/earcut.js";
|
|
42
43
|
import { equal as L } from "../shared-utils/equal.js";
|
|
43
44
|
import "../shared-utils/five/FivePuppet.js";
|
|
44
45
|
import { objectAssignDeepExports as C } from "../vendor/object-assign-deep/objectAssignDeep.js";
|
|
@@ -96,8 +97,8 @@ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
|
96
97
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
97
98
|
import "@realsee/five";
|
|
98
99
|
import "../shared-utils/isTruelyObject.js";
|
|
99
|
-
const g = "CruisePlugin", p = `${g}`,
|
|
100
|
-
class
|
|
100
|
+
const g = "CruisePlugin", p = `${g}`, Be = (a) => `${p}--${a}`;
|
|
101
|
+
class Fe extends y {
|
|
101
102
|
constructor(e, t) {
|
|
102
103
|
super(e, t);
|
|
103
104
|
o(this, "state", {
|
|
@@ -272,6 +273,6 @@ class Be extends y {
|
|
|
272
273
|
}
|
|
273
274
|
}
|
|
274
275
|
export {
|
|
275
|
-
|
|
276
|
-
|
|
276
|
+
Fe as default,
|
|
277
|
+
Be as pluginFlag
|
|
277
278
|
};
|
|
@@ -42,6 +42,7 @@ import "../shared-utils/three/core/Sphere.js";
|
|
|
42
42
|
import "../shared-utils/three/blink.js";
|
|
43
43
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
44
44
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
45
|
+
import "../vendor/earcut/src/earcut.js";
|
|
45
46
|
import { uuid as A } from "../shared-utils/uuid.js";
|
|
46
47
|
import "../shared-utils/five/FivePuppet.js";
|
|
47
48
|
import { getFiveStateOnCurve as v } from "./utils/getFiveStateOnCurve.js";
|
|
@@ -303,7 +304,6 @@ import "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
|
303
304
|
import "../Sculpt/Meshes/Polygon.js";
|
|
304
305
|
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
305
306
|
import "../shared-utils/three/earcut3D.js";
|
|
306
|
-
import "../vendor/earcut/src/earcut.js";
|
|
307
307
|
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
308
308
|
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
309
309
|
import "../shared-utils/three/geometryUtil.js";
|
|
@@ -48,6 +48,7 @@ import "../shared-utils/three/core/Sphere.js";
|
|
|
48
48
|
import "../shared-utils/three/blink.js";
|
|
49
49
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
50
50
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
51
|
+
import "../vendor/earcut/src/earcut.js";
|
|
51
52
|
import "../shared-utils/five/FivePuppet.js";
|
|
52
53
|
import "../GuideLinePlugin/Controller.js";
|
|
53
54
|
import "../base/BasePluginWithData.js";
|
|
@@ -289,7 +290,6 @@ import "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
|
289
290
|
import "../Sculpt/Meshes/Polygon.js";
|
|
290
291
|
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
291
292
|
import "../shared-utils/three/earcut3D.js";
|
|
292
|
-
import "../vendor/earcut/src/earcut.js";
|
|
293
293
|
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
294
294
|
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
295
295
|
import "../shared-utils/three/geometryUtil.js";
|
|
@@ -62,6 +62,7 @@ import "../shared-utils/three/core/Line2.js";
|
|
|
62
62
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
63
63
|
import "../Sculpt/utils/unit.js";
|
|
64
64
|
import "../Sculpt/utils/renderDom.js";
|
|
65
|
+
import "../vendor/earcut/src/earcut.js";
|
|
65
66
|
import "../shared-utils/five/FivePuppet.js";
|
|
66
67
|
import "@realsee/five";
|
|
67
68
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
@@ -275,7 +276,6 @@ import "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
|
275
276
|
import "../Sculpt/Meshes/Polygon.js";
|
|
276
277
|
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
277
278
|
import "../shared-utils/three/earcut3D.js";
|
|
278
|
-
import "../vendor/earcut/src/earcut.js";
|
|
279
279
|
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
280
280
|
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
281
281
|
import "../shared-utils/three/geometryUtil.js";
|
|
@@ -40,6 +40,7 @@ import "../shared-utils/three/core/Sphere.js";
|
|
|
40
40
|
import "../shared-utils/three/blink.js";
|
|
41
41
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
42
42
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
43
|
+
import "../vendor/earcut/src/earcut.js";
|
|
43
44
|
import { CURRENT_PANO_IMAGE_DEFAULT_IMAGE as P } from "../shared-utils/url/defaultUrls.js";
|
|
44
45
|
import { equal as w } from "../shared-utils/equal.js";
|
|
45
46
|
import "../shared-utils/five/FivePuppet.js";
|
|
@@ -98,7 +99,7 @@ import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
|
98
99
|
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
99
100
|
import "@realsee/five";
|
|
100
101
|
import "../shared-utils/isTruelyObject.js";
|
|
101
|
-
class
|
|
102
|
+
class qe extends A {
|
|
102
103
|
constructor(e, i) {
|
|
103
104
|
super(e);
|
|
104
105
|
// ==================== public properties ====================
|
|
@@ -329,5 +330,5 @@ class Ge extends A {
|
|
|
329
330
|
}
|
|
330
331
|
}
|
|
331
332
|
export {
|
|
332
|
-
|
|
333
|
+
qe as CurrentPanoImagePluginController
|
|
333
334
|
};
|
|
@@ -57,6 +57,7 @@ import "../shared-utils/three/core/Line2.js";
|
|
|
57
57
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
58
58
|
import "../Sculpt/utils/unit.js";
|
|
59
59
|
import "../Sculpt/utils/renderDom.js";
|
|
60
|
+
import "../vendor/earcut/src/earcut.js";
|
|
60
61
|
import "../shared-utils/five/FivePuppet.js";
|
|
61
62
|
import "@realsee/five";
|
|
62
63
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
@@ -71,8 +72,8 @@ import "../shared-utils/animationFrame/index.js";
|
|
|
71
72
|
import "../shared-utils/equal.js";
|
|
72
73
|
import "../shared-utils/isTruelyObject.js";
|
|
73
74
|
import "../shared-utils/three/loadTexture.js";
|
|
74
|
-
const
|
|
75
|
+
const jr = (r, o) => new t(r, o);
|
|
75
76
|
export {
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
jr as CurrentPanoImagePlugin,
|
|
78
|
+
jr as default
|
|
78
79
|
};
|
|
@@ -41,6 +41,7 @@ import "../shared-utils/three/core/Sphere.js";
|
|
|
41
41
|
import "../shared-utils/three/blink.js";
|
|
42
42
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
43
43
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
44
|
+
import "../vendor/earcut/src/earcut.js";
|
|
44
45
|
import { uuid as H } from "../shared-utils/uuid.js";
|
|
45
46
|
import { GUIDELINE_WHITE_ARROW_TEXTURE as j, GUIDELINE_DEFAULT_ARROW_TEXTURE as F } from "../shared-utils/url/defaultUrls.js";
|
|
46
47
|
import { replaceStaticPrefix as g } from "../shared-utils/url/replace-static-prefix.js";
|
|
@@ -300,7 +301,6 @@ import "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
|
300
301
|
import "../Sculpt/Meshes/Polygon.js";
|
|
301
302
|
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
302
303
|
import "../shared-utils/three/earcut3D.js";
|
|
303
|
-
import "../vendor/earcut/src/earcut.js";
|
|
304
304
|
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
305
305
|
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
306
306
|
import "../shared-utils/three/geometryUtil.js";
|
|
@@ -71,6 +71,7 @@ import "../shared-utils/three/core/Line2.js";
|
|
|
71
71
|
import "../shared-utils/three/core/LineMaterial2.js";
|
|
72
72
|
import "../Sculpt/utils/unit.js";
|
|
73
73
|
import "../Sculpt/utils/renderDom.js";
|
|
74
|
+
import "../vendor/earcut/src/earcut.js";
|
|
74
75
|
import "../shared-utils/five/FivePuppet.js";
|
|
75
76
|
import "@realsee/five";
|
|
76
77
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
@@ -269,7 +270,6 @@ import "../Sculpt/Meshes/PolygonWithEdge.js";
|
|
|
269
270
|
import "../Sculpt/Meshes/Polygon.js";
|
|
270
271
|
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
271
272
|
import "../shared-utils/three/earcut3D.js";
|
|
272
|
-
import "../vendor/earcut/src/earcut.js";
|
|
273
273
|
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
274
274
|
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
275
275
|
import "../shared-utils/three/geometryUtil.js";
|