@realsee/dnalogel 3.51.0 → 3.52.0
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 +12 -0
- package/dist/Object3DHelperPlugin/Controller.d.ts +9 -9
- package/dist/Object3DHelperPlugin/FiveControllerWrapper.d.ts +4 -2
- package/dist/PanoMeasurePlugin/Model/area.d.ts +1 -1
- package/dist/PanoMeasurePlugin/Model/polygon.d.ts +1 -1
- package/dist/PanoMeasurePlugin/typings/data.d.ts +1 -2
- package/dist/Sculpt/Editors/BoxMeshEditor.d.ts +5 -0
- package/dist/Sculpt/Editors/CircleMeshEditor.d.ts +5 -0
- package/dist/Sculpt/Editors/CylinderMeshEditor.d.ts +5 -0
- package/dist/Sculpt/Editors/PrismMeshEditor.d.ts +5 -0
- package/dist/Sculpt/Editors/RectangleMeshEditor.d.ts +5 -0
- package/dist/Sculpt/Meshes/Box.d.ts +6 -24
- package/dist/Sculpt/Meshes/Circle.d.ts +0 -4
- package/dist/Sculpt/Meshes/Cylinder.d.ts +0 -1
- package/dist/Sculpt/Meshes/Line.d.ts +9 -22
- package/dist/Sculpt/Meshes/Polygon.d.ts +1 -5
- package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
- package/dist/Sculpt/Meshes/Prism.d.ts +29 -10
- package/dist/Sculpt/Meshes/Rectangle.d.ts +1 -1
- package/dist/Sculpt/Objects/Base/index.d.ts +2 -1
- package/dist/Sculpt/Objects/Box/index.d.ts +7 -2
- package/dist/Sculpt/Objects/Circle/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Cylinder/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Line/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Point/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Polygon/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Polyline/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Prism/index.d.ts +3 -0
- package/dist/Sculpt/Objects/Rectangle/index.d.ts +12 -0
- package/dist/Sculpt/index.d.ts +11 -10
- package/dist/Sculpt/typings/style.d.ts +6 -0
- package/dist/Sculpt/utils/export.d.ts +24 -18
- package/dist/Sculpt/utils/sortPositionsByCameraPosition.d.ts +5 -0
- package/dist/Sculpt/utils/three/ColoredMesh.d.ts +4 -0
- package/dist/index.cjs.js +88 -3009
- package/dist/index.d.ts +79 -1
- package/dist/index.js +35153 -54255
- package/dist/index.umd.js +81 -3002
- package/dist/shared-utils/Object3DHelper/Base/BaseController.d.ts +1 -0
- package/dist/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +7 -3
- package/dist/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +0 -1
- package/dist/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +3 -1
- package/dist/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +2 -0
- package/dist/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -1
- package/dist/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/dist/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +4 -2
- package/dist/shared-utils/Object3DHelper/typings/index.d.ts +1 -1
- package/dist/shared-utils/Object3DHelper/utils/calculateScaleByCamera.d.ts +4 -1
- package/dist/shared-utils/five/FiveLine.d.ts +18 -14
- package/dist/shared-utils/index.d.ts +0 -1
- package/dist/shared-utils/math/planimetry.d.ts +1 -1
- package/dist/shared-utils/tag.d.ts +5 -7
- package/dist/shared-utils/three/boundingBox.d.ts +14 -20
- package/dist/shared-utils/three/core/LineGeometry.d.ts +13 -0
- package/dist/shared-utils/three/core/PrismGeometry.d.ts +14 -0
- package/dist/shared-utils/three/geometryUtil.d.ts +8 -0
- package/dist/shared-utils/three/getNormal.d.ts +5 -2
- package/libs/AreaMakerPlugin/Controller.js +47 -100
- package/libs/AreaMakerPlugin/index.js +12 -65
- package/libs/AreaMakerPlugin/utils/Item.js +102 -157
- package/libs/CSS3DRenderPlugin/Controller.js +45 -93
- package/libs/CSS3DRenderPlugin/index.js +15 -63
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +51 -106
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +79 -131
- package/libs/CruisePlugin/BaseController.js +90 -143
- package/libs/CruisePlugin/Move.js +39 -83
- package/libs/CruisePlugin/Work.js +52 -96
- package/libs/CruisePlugin/index.js +23 -67
- package/libs/CurrentPanoImagePlugin/Controller.js +88 -141
- package/libs/CurrentPanoImagePlugin/index.js +11 -64
- package/libs/GuideLinePlugin/Controller.js +13 -57
- package/libs/GuideLinePlugin/GuideLineItem.js +20 -64
- package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -8
- package/libs/GuideLinePlugin/GuideLineModeItem.js +15 -59
- package/libs/GuideLinePlugin/index.js +23 -67
- package/libs/ModelMakerPlugin/Controller.js +125 -165
- package/libs/ModelMakerPlugin/index.js +23 -63
- package/libs/ModelMakerPlugin/item/baseItem.js +2 -3
- package/libs/ModelMakerPlugin/item/boxItem.js +2 -3
- package/libs/ModelMakerPlugin/item/polygonItem.js +6 -7
- package/libs/ModelMakerPlugin/item/prismItem.js +2 -3
- package/libs/ModelMakerPlugin/utils/getFiveDomEvent.js +2 -3
- package/libs/ModelTVVideoPlugin/Plugin.js +49 -97
- package/libs/ModelTVVideoPlugin/index.js +8 -56
- package/libs/Object3DHelperPlugin/Controller.d.ts +9 -9
- package/libs/Object3DHelperPlugin/Controller.js +105 -92
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.d.ts +4 -2
- package/libs/Object3DHelperPlugin/FiveControllerWrapper.js +35 -30
- package/libs/Object3DHelperPlugin/index.js +15 -30
- package/libs/PanoCompassPlugin/Controller.js +46 -93
- package/libs/PanoCompassPlugin/index.js +17 -64
- package/libs/PanoCursorRaycasterPlugin/index.js +4 -3
- package/libs/PanoDoorLabelPlugin/BaseController.js +27 -80
- package/libs/PanoDoorLabelPlugin/Controller.js +80 -133
- package/libs/PanoDoorLabelPlugin/index.js +11 -64
- package/libs/PanoMeasurePlugin/Components/Controller0.js +79 -128
- package/libs/PanoMeasurePlugin/Components/Controller1.js +92 -141
- package/libs/PanoMeasurePlugin/Controller/BaseController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/EditController.js +73 -122
- package/libs/PanoMeasurePlugin/Controller/MixedController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/ViewController.js +3 -2
- package/libs/PanoMeasurePlugin/Controller/WatchController.js +72 -121
- package/libs/PanoMeasurePlugin/Controller/index.js +89 -135
- package/libs/PanoMeasurePlugin/Model/area.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/area.js +25 -74
- package/libs/PanoMeasurePlugin/Model/index.js +3 -2
- package/libs/PanoMeasurePlugin/Model/line.js +1 -0
- package/libs/PanoMeasurePlugin/Model/polygon.d.ts +1 -1
- package/libs/PanoMeasurePlugin/Model/polygon.js +7 -7
- package/libs/PanoMeasurePlugin/Model/polyline.js +3 -2
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -56
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +17 -66
- package/libs/PanoMeasurePlugin/index.js +18 -64
- package/libs/PanoMeasurePlugin/typings/data.d.ts +1 -2
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +5 -59
- package/libs/PanoMeasurePlugin/utils/line.js +3 -2
- package/libs/PanoRulerProPlugin/Controller.js +34 -89
- package/libs/PanoRulerProPlugin/RulerItems.js +92 -147
- package/libs/PanoRulerProPlugin/index.js +10 -65
- package/libs/PanoSpatialTagPlugin/Plugin.js +130 -178
- package/libs/PanoSpatialTagPlugin/index.js +6 -54
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +61 -116
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +138 -193
- package/libs/PanoTagPlugin/Components/Tag/index.js +140 -194
- package/libs/PanoTagPlugin/Components/TagContainer.js +58 -112
- package/libs/PanoTagPlugin/Components/TagItem.js +137 -191
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +109 -164
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +22 -76
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +33 -87
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +39 -94
- package/libs/PanoTagPlugin/controller/TagRender.js +18 -62
- package/libs/PanoTagPlugin/controller/TagUtil.js +80 -124
- package/libs/PanoTagPlugin/controller/index.js +37 -81
- package/libs/PanoTagPlugin/index.js +28 -72
- package/libs/PanoTagPlugin/utils/model/mediaPlane.js +14 -14
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +22 -77
- package/libs/PanoVideoPlugin/Controller.js +43 -96
- package/libs/PanoVideoPlugin/VideoMeshController.js +64 -119
- package/libs/PanoVideoPlugin/index.js +14 -67
- package/libs/PipelinePlugin/Controller.js +123 -176
- package/libs/PipelinePlugin/index.js +11 -64
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +15 -70
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -58
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +42 -97
- package/libs/Sculpt/Editors/BoxMeshEditor.d.ts +5 -0
- package/libs/Sculpt/Editors/BoxMeshEditor.js +98 -0
- package/libs/Sculpt/Editors/CircleMeshEditor.d.ts +5 -0
- package/libs/Sculpt/Editors/CircleMeshEditor.js +9 -0
- package/libs/Sculpt/Editors/CylinderMeshEditor.d.ts +5 -0
- package/libs/Sculpt/Editors/CylinderMeshEditor.js +41 -0
- package/libs/Sculpt/Editors/PrismMeshEditor.d.ts +5 -0
- package/libs/Sculpt/Editors/PrismMeshEditor.js +43 -0
- package/libs/Sculpt/Editors/RectangleMeshEditor.d.ts +5 -0
- package/libs/Sculpt/Editors/RectangleMeshEditor.js +70 -0
- package/libs/Sculpt/Meshes/Box.d.ts +6 -24
- package/libs/Sculpt/Meshes/Box.js +22 -93
- package/libs/Sculpt/Meshes/Circle.d.ts +0 -4
- package/libs/Sculpt/Meshes/Circle.js +18 -27
- package/libs/Sculpt/Meshes/Cylinder.d.ts +0 -1
- package/libs/Sculpt/Meshes/Cylinder.js +17 -24
- package/libs/Sculpt/Meshes/Line.d.ts +9 -22
- package/libs/Sculpt/Meshes/Line.js +85 -104
- package/libs/Sculpt/Meshes/LineWithDots.js +10 -14
- package/libs/Sculpt/Meshes/Point.js +29 -34
- package/libs/Sculpt/Meshes/Polygon.d.ts +1 -5
- package/libs/Sculpt/Meshes/Polygon.js +40 -53
- package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +1 -1
- package/libs/Sculpt/Meshes/Prism.d.ts +29 -10
- package/libs/Sculpt/Meshes/Prism.js +108 -84
- package/libs/Sculpt/Meshes/Rectangle.d.ts +1 -1
- package/libs/Sculpt/Meshes/Rectangle.js +7 -10
- package/libs/Sculpt/Meshes/RectangleWithEdge.js +17 -20
- package/libs/Sculpt/Objects/Base/index.d.ts +2 -1
- package/libs/Sculpt/Objects/Base/index.js +16 -17
- package/libs/Sculpt/Objects/Box/index.d.ts +7 -2
- package/libs/Sculpt/Objects/Box/index.js +72 -60
- package/libs/Sculpt/Objects/Circle/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Circle/index.js +34 -30
- package/libs/Sculpt/Objects/Cylinder/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Cylinder/index.js +46 -42
- package/libs/Sculpt/Objects/Line/Editor.js +8 -10
- package/libs/Sculpt/Objects/Line/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Line/index.js +45 -41
- package/libs/Sculpt/Objects/Point/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Point/index.js +33 -29
- package/libs/Sculpt/Objects/Polygon/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Polygon/index.js +67 -63
- package/libs/Sculpt/Objects/Polyline/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Polyline/index.js +46 -42
- package/libs/Sculpt/Objects/Prism/index.d.ts +3 -0
- package/libs/Sculpt/Objects/Prism/index.js +58 -53
- package/libs/Sculpt/Objects/Rectangle/index.d.ts +12 -0
- package/libs/Sculpt/Objects/Rectangle/index.js +142 -81
- package/libs/Sculpt/index.d.ts +11 -10
- package/libs/Sculpt/index.js +105 -107
- package/libs/Sculpt/typings/style.d.ts +6 -0
- package/libs/Sculpt/utils/export.d.ts +24 -18
- package/libs/Sculpt/utils/export.js +52 -19
- package/libs/Sculpt/utils/sortPositionsByCameraPosition.d.ts +5 -0
- package/libs/Sculpt/utils/sortPositionsByCameraPosition.js +9 -0
- package/libs/Sculpt/utils/three/ColoredMesh.d.ts +4 -0
- package/libs/Sculpt/utils/three/ColoredMesh.js +40 -37
- package/libs/base/BasePlugin.js +10 -15
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +96 -147
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +12 -63
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +53 -105
- package/libs/floorplan/ModelFloorplanPlugin/index.js +11 -63
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +65 -118
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +11 -64
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +54 -106
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +11 -63
- package/libs/floorplan/index.js +0 -5
- package/libs/index.d.ts +79 -1
- package/libs/index.js +229 -215
- package/libs/shared-utils/Object3DHelper/Base/BaseController.d.ts +1 -0
- package/libs/shared-utils/Object3DHelper/Base/BaseController.js +112 -122
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.d.ts +7 -3
- package/libs/shared-utils/Object3DHelper/Base/BaseHelper.js +60 -39
- package/libs/shared-utils/Object3DHelper/Controller/RotateController.js +47 -47
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.d.ts +0 -1
- package/libs/shared-utils/Object3DHelper/Controller/ScaleController.js +28 -28
- package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.d.ts +3 -1
- package/libs/shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js +25 -18
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.d.ts +2 -0
- package/libs/shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js +18 -14
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.d.ts +2 -1
- package/libs/shared-utils/Object3DHelper/Helper/MoveHelper.js +1 -0
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.d.ts +2 -1
- package/libs/shared-utils/Object3DHelper/Helper/RotateHelper.js +2 -1
- package/libs/shared-utils/Object3DHelper/Helper/ScaleHelper.d.ts +4 -2
- package/libs/shared-utils/Object3DHelper/Helper/ScaleHelper.js +40 -28
- package/libs/shared-utils/Object3DHelper/typings/index.d.ts +1 -1
- package/libs/shared-utils/Object3DHelper/utils/calculateScaleByCamera.d.ts +4 -1
- package/libs/shared-utils/Object3DHelper/utils/calculateScaleByCamera.js +4 -4
- package/libs/shared-utils/five/FiveDomEvents.js +88 -88
- package/libs/shared-utils/five/FiveLine.d.ts +18 -14
- package/libs/shared-utils/five/FiveLine.js +31 -13
- package/libs/shared-utils/five/index.js +2 -7
- package/libs/shared-utils/five/lookObject.js +27 -32
- package/libs/shared-utils/index.d.ts +0 -1
- package/libs/shared-utils/index.js +31 -33
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/math/planimetry.d.ts +1 -1
- package/libs/shared-utils/tag.d.ts +5 -7
- package/libs/shared-utils/tag.js +1 -1
- package/libs/shared-utils/three/boundingBox.d.ts +14 -20
- package/libs/shared-utils/three/core/LineGeometry.d.ts +13 -0
- package/libs/shared-utils/three/core/LineGeometry.js +26 -0
- package/libs/shared-utils/three/core/PrismGeometry.d.ts +14 -0
- package/libs/shared-utils/three/core/PrismGeometry.js +42 -0
- package/libs/shared-utils/three/earcut3D.js +5 -5
- package/libs/shared-utils/three/geometryUtil.d.ts +8 -0
- package/libs/shared-utils/three/geometryUtil.js +3 -1
- package/libs/shared-utils/three/getNormal.d.ts +5 -2
- package/libs/shared-utils/three/getNormal.js +6 -5
- package/libs/shared-utils/three/index.js +0 -5
- package/package.json +1 -1
- package/dist/Sculpt/Objects/Box/Editor.d.ts +0 -5
- package/dist/Sculpt/Objects/Circle/Editor.d.ts +0 -5
- package/dist/Sculpt/Objects/Cylinder/Editor.d.ts +0 -5
- package/dist/Sculpt/Objects/Prism/Editor.d.ts +0 -5
- package/dist/Sculpt/Objects/Rectangle/Editor.d.ts +0 -5
- package/dist/Sculpt/utils/getBetterNormal.d.ts +0 -2
- package/libs/Sculpt/Objects/Box/Editor.d.ts +0 -5
- package/libs/Sculpt/Objects/Box/Editor.js +0 -44
- package/libs/Sculpt/Objects/Circle/Editor.d.ts +0 -5
- package/libs/Sculpt/Objects/Circle/Editor.js +0 -9
- package/libs/Sculpt/Objects/Cylinder/Editor.d.ts +0 -5
- package/libs/Sculpt/Objects/Cylinder/Editor.js +0 -41
- package/libs/Sculpt/Objects/Prism/Editor.d.ts +0 -5
- package/libs/Sculpt/Objects/Prism/Editor.js +0 -44
- package/libs/Sculpt/Objects/Rectangle/Editor.d.ts +0 -5
- package/libs/Sculpt/Objects/Rectangle/Editor.js +0 -9
- package/libs/Sculpt/utils/getBetterNormal.d.ts +0 -2
- package/libs/Sculpt/utils/getBetterNormal.js +0 -8
- package/libs/vendor/three/build/three.module.js +0 -19336
- package/libs/vendor/three/examples/jsm/lines/LineGeometry.js +0 -28
- package/libs/vendor/three/examples/jsm/lines/LineSegmentsGeometry.js +0 -69
|
@@ -1,21 +1,16 @@
|
|
|
1
1
|
var g = Object.defineProperty;
|
|
2
|
-
var I = (
|
|
3
|
-
var t = (
|
|
2
|
+
var I = (v, e, i) => e in v ? g(v, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : v[e] = i;
|
|
3
|
+
var t = (v, e, i) => (I(v, typeof e != "symbol" ? e + "" : e, i), i);
|
|
4
4
|
import { vertexShader as M, fragmentShader as P } from "./utils/shader.js";
|
|
5
5
|
import "../shared-utils/tag.js";
|
|
6
|
-
import { VideoTexture as F, LinearFilter as c, ShaderMaterial as y, Vector4 as x, SphereBufferGeometry as L, Mesh as V, Vector3 as
|
|
6
|
+
import { VideoTexture as F, LinearFilter as c, ShaderMaterial as y, Vector4 as x, SphereBufferGeometry as L, Mesh as V, Vector3 as p, Quaternion as b } from "three";
|
|
7
7
|
import "hammerjs";
|
|
8
8
|
import "../shared-utils/three/PointSelector/index.js";
|
|
9
9
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
10
10
|
import "@realsee/five/line";
|
|
11
|
-
import "../vendor/three/examples/jsm/lines/LineGeometry.js";
|
|
12
11
|
import "../shared-utils/three/core/Sphere.js";
|
|
13
12
|
import A from "animejs";
|
|
14
13
|
import { requestAnimationFrameInterval as D } from "../shared-utils/animationFrame/index.js";
|
|
15
|
-
import "../Sculpt/Meshes/Polygon.js";
|
|
16
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
17
|
-
import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
18
|
-
import "../Sculpt/utils/three/rayOnLine.js";
|
|
19
14
|
import E from "./utils/index.js";
|
|
20
15
|
import "../shared-utils/positionToVector3.js";
|
|
21
16
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
@@ -55,65 +50,15 @@ import "../Sculpt/utils/removeAllTag.js";
|
|
|
55
50
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
56
51
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
57
52
|
import "../shared-utils/util.js";
|
|
53
|
+
import "../shared-utils/three/core/LineGeometry.js";
|
|
58
54
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
59
55
|
import "../shared-utils/isTouchDevice.js";
|
|
60
56
|
import "../shared-utils/five/getPosition.js";
|
|
61
57
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
62
58
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
63
|
-
|
|
64
|
-
import "../vendor/three/build/three.module.js";
|
|
65
|
-
import "../shared-utils/three/generatePolygonGeometry.js";
|
|
66
|
-
import "../shared-utils/three/earcut3D.js";
|
|
67
|
-
import "earcut";
|
|
68
|
-
import "../shared-utils/three/getNormal.js";
|
|
69
|
-
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
70
|
-
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
71
|
-
import "../shared-utils/three/geometryUtil.js";
|
|
72
|
-
import "../Sculpt/utils/Modules/Cursor.js";
|
|
73
|
-
import "../Object3DHelperPlugin/Controller.js";
|
|
74
|
-
import "../base/BasePlugin.js";
|
|
75
|
-
import "../shared-utils/url/absoluteUrl.js";
|
|
76
|
-
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
77
|
-
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
78
|
-
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
79
|
-
import "../shared-utils/three/boundingBox.js";
|
|
80
|
-
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
81
|
-
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
82
|
-
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
83
|
-
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
84
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
85
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
86
|
-
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
87
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
88
|
-
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
89
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
90
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
91
|
-
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
92
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
93
|
-
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
94
|
-
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
95
|
-
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
96
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
97
|
-
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
98
|
-
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
99
|
-
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
100
|
-
import "../shared-utils/Object3DHelper/index.js";
|
|
101
|
-
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
102
|
-
import "../shared-utils/math/rad2Deg.js";
|
|
103
|
-
import "../shared-utils/math/deg2Rad.js";
|
|
104
|
-
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
105
|
-
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
106
|
-
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
107
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
108
|
-
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
109
|
-
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
110
|
-
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
111
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
112
|
-
import "../shared-utils/five/FiveDomEvents.js";
|
|
113
|
-
import "../shared-utils/five/calculateThreeMouse.js";
|
|
114
|
-
class Te {
|
|
59
|
+
class _e {
|
|
115
60
|
/** 初始化视频、模型以及相关事件监听。 */
|
|
116
|
-
constructor(
|
|
61
|
+
constructor(e, i) {
|
|
117
62
|
t(this, "video");
|
|
118
63
|
t(this, "_id");
|
|
119
64
|
/** 视频资源地址 */
|
|
@@ -149,67 +94,67 @@ class Te {
|
|
|
149
94
|
this.video.muted = !1;
|
|
150
95
|
});
|
|
151
96
|
/** 把 uv 值转换成位置 */
|
|
152
|
-
t(this, "uv2Position", (
|
|
97
|
+
t(this, "uv2Position", (e, i) => {
|
|
153
98
|
var f;
|
|
154
|
-
const o = Math.PI, a = Math.PI * 2, d =
|
|
155
|
-
-1 * Math.cos(a * d) * Math.sin(o *
|
|
156
|
-
1 * Math.cos(o *
|
|
157
|
-
1 * Math.sin(a * d) * Math.sin(o *
|
|
99
|
+
const o = Math.PI, a = Math.PI * 2, d = e, s = 1 - i, r = new p(
|
|
100
|
+
-1 * Math.cos(a * d) * Math.sin(o * s),
|
|
101
|
+
1 * Math.cos(o * s),
|
|
102
|
+
1 * Math.sin(a * d) * Math.sin(o * s)
|
|
158
103
|
);
|
|
159
|
-
|
|
104
|
+
r.setX(-r.x);
|
|
160
105
|
const h = (f = this.five.work) == null ? void 0 : f.observers[this.panoIndex];
|
|
161
106
|
if (!h)
|
|
162
107
|
return this.logWarning(`点位 ${this.panoIndex} 不存在,请检查 Five 数据是否正常。`);
|
|
163
|
-
const
|
|
164
|
-
return
|
|
108
|
+
const l = h.position.clone(), m = h.quaternion.clone(), u = r.clone();
|
|
109
|
+
return u.applyAxisAngle(new p(0, 1, 0), Math.PI / 2), u.applyQuaternion(m), u.add(l), u;
|
|
165
110
|
});
|
|
166
111
|
/** Five 数据加载后需要根据点位位姿调整点位模型位置 */
|
|
167
112
|
t(this, "onFiveDataLoaded", () => {
|
|
168
|
-
var
|
|
169
|
-
const
|
|
170
|
-
if (!
|
|
113
|
+
var r;
|
|
114
|
+
const e = (r = this.five.work) == null ? void 0 : r.observers[this.panoIndex];
|
|
115
|
+
if (!e)
|
|
171
116
|
return this.logWarning(`点位 ${this.panoIndex} 不存在,请检查 Five 数据是否正常。`);
|
|
172
|
-
this.observer =
|
|
173
|
-
const { x:
|
|
174
|
-
this.videoMesh.position.fromArray([
|
|
117
|
+
this.observer = e;
|
|
118
|
+
const { x: i, y: n, z: o, w: a } = e.quaternion, d = new b(i, n, o, a), s = e.position;
|
|
119
|
+
this.videoMesh.position.fromArray([s.x, s.y, s.z]), this.videoMesh.quaternion.set(0, 0, 0, 1), this.videoMesh.rotateOnAxis(new p(0, 1, 0), Math.PI / 2), this.videoMesh.applyQuaternion(d);
|
|
175
120
|
});
|
|
176
121
|
/** 兼容视频播放 */
|
|
177
|
-
t(this, "onFiveWantsMoveToPano", (
|
|
178
|
-
|
|
122
|
+
t(this, "onFiveWantsMoveToPano", (e) => {
|
|
123
|
+
e === this.panoIndex && (this.hasVideoEverPlayed || this.video.play().catch(() => {
|
|
179
124
|
}));
|
|
180
125
|
});
|
|
181
126
|
/** 走到某个点位上时,挂载/卸载视频 */
|
|
182
|
-
t(this, "onFivePanoArrived", (
|
|
127
|
+
t(this, "onFivePanoArrived", (e) => {
|
|
183
128
|
if (this.disposed)
|
|
184
129
|
return this.logWarning("实例已被销毁");
|
|
185
|
-
this.enabled && this.panoIndex ===
|
|
130
|
+
this.enabled && this.panoIndex === e && this.mount();
|
|
186
131
|
});
|
|
187
|
-
t(this, "onFivePanoWillArrive", (
|
|
188
|
-
if (
|
|
132
|
+
t(this, "onFivePanoWillArrive", (e) => {
|
|
133
|
+
if (e !== this.panoIndex)
|
|
189
134
|
return this.unmount();
|
|
190
|
-
this.panoIndex !==
|
|
135
|
+
this.panoIndex !== e && this.unmount();
|
|
191
136
|
});
|
|
192
137
|
/** Five 模型变化 */
|
|
193
|
-
t(this, "onFiveModeChange", (
|
|
194
|
-
|
|
138
|
+
t(this, "onFiveModeChange", (e) => {
|
|
139
|
+
e !== "Panorama" && this.hide();
|
|
195
140
|
});
|
|
196
141
|
/** Five mode change 动画结束 */
|
|
197
142
|
t(this, "onFiveInitAnimationEnded", () => {
|
|
198
|
-
const
|
|
199
|
-
|
|
143
|
+
const e = this.five.getCurrentState();
|
|
144
|
+
e.mode === "Panorama" && e.panoIndex === this.panoIndex && this.mount();
|
|
200
145
|
});
|
|
201
146
|
/** Five Canvas 点击 */
|
|
202
|
-
t(this, "onFiveWantsTapGesture", (
|
|
147
|
+
t(this, "onFiveWantsTapGesture", (e) => {
|
|
203
148
|
if (!this.five.scene.children.includes(this.videoMesh))
|
|
204
149
|
return;
|
|
205
150
|
if (this.disposed)
|
|
206
151
|
return this.logWarning("实例已被销毁");
|
|
207
152
|
if (!this.enabled)
|
|
208
153
|
return this.logWarning("实例已被禁用");
|
|
209
|
-
const [
|
|
210
|
-
if (!
|
|
154
|
+
const [i] = e.intersectObject(this.videoMesh);
|
|
155
|
+
if (!i)
|
|
211
156
|
return;
|
|
212
|
-
if (this.checkIntersectionInBounding(this.origin,
|
|
157
|
+
if (this.checkIntersectionInBounding(this.origin, i)) {
|
|
213
158
|
const o = {
|
|
214
159
|
target: this,
|
|
215
160
|
_preventDefaultReturn: !1,
|
|
@@ -246,16 +191,16 @@ class Te {
|
|
|
246
191
|
if (this.enabled && this.panoIndex === this.five.getCurrentState().panoIndex && this.five.getCurrentState().mode === "Panorama" && (this.renderFiveDisposer || (this.renderFiveDisposer = D(() => {
|
|
247
192
|
this.five.needsRender = !0;
|
|
248
193
|
}, 30)), this.five.scene.add(this.videoMesh), this.videoMesh.material.uniforms.opacity.value === 0)) {
|
|
249
|
-
const
|
|
194
|
+
const e = {
|
|
250
195
|
value: 0
|
|
251
196
|
};
|
|
252
197
|
A({
|
|
253
|
-
targets:
|
|
198
|
+
targets: e,
|
|
254
199
|
value: 1,
|
|
255
200
|
duration: 300,
|
|
256
201
|
easing: "linear",
|
|
257
202
|
update: () => {
|
|
258
|
-
this.videoMesh.material.uniforms.opacity.value =
|
|
203
|
+
this.videoMesh.material.uniforms.opacity.value = e.value;
|
|
259
204
|
},
|
|
260
205
|
complete: () => {
|
|
261
206
|
this.videoMesh.material.uniforms.opacity.value = 1;
|
|
@@ -268,11 +213,11 @@ class Te {
|
|
|
268
213
|
});
|
|
269
214
|
/** video pause 事件触发 */
|
|
270
215
|
t(this, "onVideoPaused", () => {
|
|
271
|
-
var
|
|
272
|
-
(
|
|
216
|
+
var e;
|
|
217
|
+
(e = this.renderFiveDisposer) == null || e.call(this), this.renderFiveDisposer = void 0;
|
|
273
218
|
});
|
|
274
|
-
var
|
|
275
|
-
this.five =
|
|
219
|
+
var r, h;
|
|
220
|
+
this.five = e, this.panoIndex = i.panoIndex, this._id = i.renderID, this.url = i.url, this.origin = i.origin.slice(), this.hooks = i.hooks, this._enabled = (h = (r = i.initialState) == null ? void 0 : r.enabled) != null ? h : !0;
|
|
276
221
|
const n = document.createElement("video");
|
|
277
222
|
n.crossOrigin = "anonymous", n.autoplay = !1, n.muted = !0, n.loop = !0, n.playsInline = !0, this.video = n;
|
|
278
223
|
const o = new F(this.video);
|
|
@@ -291,8 +236,8 @@ class Te {
|
|
|
291
236
|
transparent: !0
|
|
292
237
|
}), d = new L(1, 64, 64);
|
|
293
238
|
d.scale(-1, 1, 1);
|
|
294
|
-
const
|
|
295
|
-
|
|
239
|
+
const s = new V(d, a);
|
|
240
|
+
s.name = "pano-video-plugin", this.videoMesh = s, this.five.work && this.onFiveDataLoaded(), this.enabled && this.addEventListeners(), this.mountIfNeeded(), window[`__PANOVIDEO_${this.renderID}_DEBUG__`] = this;
|
|
296
241
|
}
|
|
297
242
|
/** 传入的 ID,不可更改 */
|
|
298
243
|
get renderID() {
|
|
@@ -323,21 +268,21 @@ class Te {
|
|
|
323
268
|
lookAtVideo() {
|
|
324
269
|
if (!this.observer)
|
|
325
270
|
return;
|
|
326
|
-
const
|
|
327
|
-
if (!i)
|
|
328
|
-
return;
|
|
329
|
-
const e = this.uv2Position(i[0], i[1]);
|
|
271
|
+
const e = this.getUVCenter();
|
|
330
272
|
if (!e)
|
|
331
273
|
return;
|
|
332
|
-
const
|
|
274
|
+
const i = this.uv2Position(e[0], e[1]);
|
|
275
|
+
if (!i)
|
|
276
|
+
return;
|
|
277
|
+
const n = new p().subVectors(i, this.observer.position).normalize(), { longitude: o, latitude: a } = E(n);
|
|
333
278
|
this.five.setState({ panoIndex: this.panoIndex, longitude: o, latitude: a }), this.onFiveWantsMoveToPano(this.panoIndex);
|
|
334
279
|
}
|
|
335
280
|
/** 获取视频中心点的 uv */
|
|
336
281
|
getUVCenter() {
|
|
337
282
|
if (!this.origin)
|
|
338
283
|
return;
|
|
339
|
-
const
|
|
340
|
-
return [
|
|
284
|
+
const e = this.origin[0] + this.origin[2] / 2, i = this.origin[1] + this.origin[3] / 2;
|
|
285
|
+
return [e, i];
|
|
341
286
|
}
|
|
342
287
|
/** 添加时间监听 */
|
|
343
288
|
addEventListeners() {
|
|
@@ -349,8 +294,8 @@ class Te {
|
|
|
349
294
|
}
|
|
350
295
|
/** 如果满足 mount 条件,mount */
|
|
351
296
|
mountIfNeeded() {
|
|
352
|
-
const
|
|
353
|
-
|
|
297
|
+
const e = this.five.getCurrentState();
|
|
298
|
+
e.mode === "Panorama" && e.panoIndex === this.panoIndex && this.enabled && this.mount();
|
|
354
299
|
}
|
|
355
300
|
/** 挂载:加载视频资源;添加模型。 */
|
|
356
301
|
mount() {
|
|
@@ -358,10 +303,10 @@ class Te {
|
|
|
358
303
|
return this.logWarning("插件已经销毁,无法挂载。");
|
|
359
304
|
if (this.url === "")
|
|
360
305
|
return this.logWarning("视频资源不存在。");
|
|
361
|
-
this.video.src !== this.url && (this.video.src = this.url), this.video.paused && this.video.play().catch((
|
|
362
|
-
this.logWarning(
|
|
363
|
-
this.video.play().catch((
|
|
364
|
-
this.logWarning(
|
|
306
|
+
this.video.src !== this.url && (this.video.src = this.url), this.video.paused && this.video.play().catch((e) => {
|
|
307
|
+
this.logWarning(e instanceof Error ? e.message : "视频播放失败。"), this.five.once("gesture", () => {
|
|
308
|
+
this.video.play().catch((i) => {
|
|
309
|
+
this.logWarning(i instanceof Error ? i.message : "自动播放视频失败。");
|
|
365
310
|
});
|
|
366
311
|
});
|
|
367
312
|
});
|
|
@@ -375,17 +320,17 @@ class Te {
|
|
|
375
320
|
this.video.pause(), this.videoMesh.material.uniforms.opacity.value = 0, this.five.scene.remove(this.videoMesh);
|
|
376
321
|
}
|
|
377
322
|
/** 控制台打印警告 */
|
|
378
|
-
logWarning(
|
|
379
|
-
console.warn("⛔ ==> [VideoMeshController]:",
|
|
323
|
+
logWarning(e) {
|
|
324
|
+
console.warn("⛔ ==> [VideoMeshController]:", e);
|
|
380
325
|
}
|
|
381
326
|
/** 检测射线与模型的交点是不是在视频的范围内 */
|
|
382
|
-
checkIntersectionInBounding(
|
|
383
|
-
if (!
|
|
327
|
+
checkIntersectionInBounding(e, i) {
|
|
328
|
+
if (!i.uv)
|
|
384
329
|
return !1;
|
|
385
|
-
const [n, o] =
|
|
386
|
-
return n >= a && n <=
|
|
330
|
+
const [n, o] = i.uv.toArray(), [a, d, s, r] = e, h = 1 - d - r, l = a + s, m = h + r;
|
|
331
|
+
return n >= a && n <= l && o >= h && o <= m;
|
|
387
332
|
}
|
|
388
333
|
}
|
|
389
334
|
export {
|
|
390
|
-
|
|
335
|
+
_e as VideoMeshController
|
|
391
336
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PanoVideoPluginController as r } from "./Controller.js";
|
|
2
|
-
import { typings as
|
|
2
|
+
import { typings as Po } from "./typings/index.js";
|
|
3
3
|
import "./VideoMeshController.js";
|
|
4
4
|
import "./utils/shader.js";
|
|
5
5
|
import "../shared-utils/tag.js";
|
|
@@ -30,90 +30,37 @@ import "../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
|
|
|
30
30
|
import "../shared-utils/three/centerPoint.js";
|
|
31
31
|
import "../shared-utils/three/getObjectVisible.js";
|
|
32
32
|
import "@realsee/five/line";
|
|
33
|
-
import "../
|
|
34
|
-
import "../vendor/three/examples/jsm/lines/LineSegmentsGeometry.js";
|
|
35
|
-
import "../vendor/three/build/three.module.js";
|
|
33
|
+
import "../shared-utils/isNil.js";
|
|
36
34
|
import "../shared-utils/three/core/Sphere.js";
|
|
37
35
|
import "animejs";
|
|
38
|
-
import "../shared-utils/isNil.js";
|
|
39
36
|
import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
40
|
-
import "../
|
|
41
|
-
import "../shared-utils/
|
|
42
|
-
import "../shared-utils/three/earcut3D.js";
|
|
43
|
-
import "earcut";
|
|
44
|
-
import "../shared-utils/three/getNormal.js";
|
|
45
|
-
import "../PanoMeasurePlugin/utils/isIntersecting.js";
|
|
46
|
-
import "../Sculpt/typings/style.js";
|
|
47
|
-
import "../Sculpt/utils/three/ColoredMesh.js";
|
|
48
|
-
import "../shared-utils/three/IObject3D.js";
|
|
49
|
-
import "../Sculpt/utils/Modules/Global.js";
|
|
50
|
-
import "../Sculpt/utils/Modules/Cursor.js";
|
|
51
|
-
import "../Object3DHelperPlugin/Controller.js";
|
|
52
|
-
import "../base/BasePlugin.js";
|
|
53
|
-
import "../shared-utils/url/absoluteUrl.js";
|
|
54
|
-
import "../vendor/hotkeys-js/dist/hotkeys.esm.js";
|
|
55
|
-
import "../Sculpt/utils/three/rayOnLine.js";
|
|
56
|
-
import "../shared-utils/Object3DHelper/Helper/MoveHelper.js";
|
|
57
|
-
import "../shared-utils/Object3DHelper/Base/BaseHelper.js";
|
|
58
|
-
import "../shared-utils/Object3DHelper/utils/setObjectQuaternion.js";
|
|
59
|
-
import "../shared-utils/three/boundingBox.js";
|
|
60
|
-
import "../shared-utils/Object3DHelper/Helper/Objects/ArrowGroup.js";
|
|
61
|
-
import "../shared-utils/Object3DHelper/utils/direction.js";
|
|
62
|
-
import "../shared-utils/Object3DHelper/Constants/color.js";
|
|
63
|
-
import "../shared-utils/Object3DHelper/utils/calculateScaleByCamera.js";
|
|
64
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
|
|
37
|
+
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
38
|
+
import "../shared-utils/five/initialCSS3DRender.js";
|
|
65
39
|
import "../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
|
|
66
40
|
import "../CSS3DRenderPlugin/utils/three/THREEJS_CSS3DRenderer.js";
|
|
67
41
|
import "../CSS3DRenderPlugin/utils/createResizeObserver.js";
|
|
68
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
|
|
69
|
-
import "../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
|
|
70
|
-
import "../shared-utils/util.js";
|
|
71
|
-
import "../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
|
|
72
|
-
import "../shared-utils/three/PointSelector/utils/html.js";
|
|
73
|
-
import "../shared-utils/five/initialCSS3DRender.js";
|
|
74
42
|
import "../shared-utils/three/PointSelector/utils/PointHelper2.js";
|
|
75
43
|
import "../Sculpt/Meshes/Line.js";
|
|
44
|
+
import "../Sculpt/typings/style.js";
|
|
76
45
|
import "../shared-utils/five/FiveLine.js";
|
|
46
|
+
import "../shared-utils/three/IObject3D.js";
|
|
77
47
|
import "../Sculpt/utils/removeAllTag.js";
|
|
78
48
|
import "../Sculpt/utils/Meshes/getLengthHTML.js";
|
|
79
49
|
import "../shared-utils/three/applyObjectMatrixWorld.js";
|
|
50
|
+
import "../shared-utils/util.js";
|
|
51
|
+
import "../shared-utils/three/core/LineGeometry.js";
|
|
80
52
|
import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
|
|
81
|
-
import "../shared-utils/Object3DHelper/Helper/RotateHelper.js";
|
|
82
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/tipsDom.js";
|
|
83
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/utils/createElement.js";
|
|
84
|
-
import "../shared-utils/Object3DHelper/Helper/CSS3DScaleHelper.js";
|
|
85
|
-
import "../shared-utils/Object3DHelper/Helper/HTML/rectangleScaleDom.js";
|
|
86
|
-
import "../shared-utils/Object3DHelper/Helper/BoundingBoxHelper.js";
|
|
87
|
-
import "../shared-utils/Object3DHelper/Controller/MoveController.js";
|
|
88
|
-
import "../shared-utils/Object3DHelper/Base/BaseController.js";
|
|
89
|
-
import "../shared-utils/threex/domevents/index.js";
|
|
90
|
-
import "../shared-utils/Object3DHelper/utils/getMouseRaycaster.js";
|
|
91
|
-
import "../shared-utils/Object3DHelper/utils/calculateThreeMouse.js";
|
|
92
|
-
import "../Object3DHelperPlugin/FiveControllerWrapper.js";
|
|
93
|
-
import "../shared-utils/Object3DHelper/index.js";
|
|
94
|
-
import "../shared-utils/Object3DHelper/Controller/RotateController.js";
|
|
95
|
-
import "../shared-utils/math/rad2Deg.js";
|
|
96
|
-
import "../shared-utils/math/deg2Rad.js";
|
|
97
|
-
import "../shared-utils/Object3DHelper/Controller/CSS3DScaleController.js";
|
|
98
|
-
import "../shared-utils/Object3DHelper/Controller/RectangleScaleController.js";
|
|
99
|
-
import "../shared-utils/Object3DHelper/utils/vectorIsEqual.js";
|
|
100
|
-
import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
|
|
101
|
-
import "../shared-utils/Object3DHelper/Controller/BoundingBoxController.js";
|
|
102
|
-
import "../shared-utils/Object3DHelper/Helper/ScaleHelper.js";
|
|
103
|
-
import "../shared-utils/Object3DHelper/Controller/ScaleController.js";
|
|
104
|
-
import "../shared-utils/five/fiveModelLoad.js";
|
|
105
|
-
import "../shared-utils/five/FiveDomEvents.js";
|
|
106
|
-
import "../shared-utils/five/calculateThreeMouse.js";
|
|
107
53
|
import "../shared-utils/isTouchDevice.js";
|
|
108
|
-
import "../shared-utils/three/geometryUtil.js";
|
|
109
54
|
import "../shared-utils/five/getPosition.js";
|
|
110
55
|
import "../shared-utils/five/getRaycasterByNdcPosition.js";
|
|
111
56
|
import "../shared-utils/three/PointSelector/utils/contents.js";
|
|
112
57
|
import "../shared-utils/animationFrame/index.js";
|
|
113
58
|
import "./utils/index.js";
|
|
114
|
-
|
|
59
|
+
import "../base/BasePlugin.js";
|
|
60
|
+
import "../shared-utils/url/absoluteUrl.js";
|
|
61
|
+
const eo = (o) => new r(o);
|
|
115
62
|
export {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
63
|
+
eo as PanoVideoPlugin,
|
|
64
|
+
Po as PanoVideoPluginType,
|
|
65
|
+
eo as default
|
|
119
66
|
};
|