@realsee/dnalogel 3.47.8 → 3.47.9
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 +3 -0
- package/dist/Sculpt/Meshes/Rectangle.d.ts +0 -1
- package/dist/Sculpt/Meshes/RectangleWithEdge.d.ts +9 -0
- package/dist/Sculpt/Objects/Line/index.d.ts +3 -3
- package/dist/Sculpt/Objects/Polygon/index.d.ts +3 -3
- package/dist/Sculpt/Objects/Polyline/index.d.ts +3 -3
- package/dist/Sculpt/Objects/Rectangle/index.d.ts +6 -2
- package/dist/Sculpt/typings/style.d.ts +8 -1
- package/dist/index.cjs.js +32 -32
- package/dist/index.js +1453 -1436
- package/dist/index.umd.js +33 -33
- package/dist/shared-utils/tag.d.ts +5 -0
- package/libs/AreaMakerPlugin/Controller.js +1 -1
- package/libs/AreaMakerPlugin/index.js +1 -1
- package/libs/AreaMakerPlugin/utils/Item.js +1 -1
- package/libs/CSS3DRenderPlugin/Controller.js +1 -1
- package/libs/CSS3DRenderPlugin/index.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +1 -1
- package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +1 -1
- package/libs/CruisePlugin/BaseController.js +1 -1
- 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 +1 -1
- package/libs/CurrentPanoImagePlugin/index.js +1 -1
- package/libs/GuideLinePlugin/Controller.js +1 -1
- package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
- package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
- package/libs/GuideLinePlugin/index.js +1 -1
- package/libs/ModelMakerPlugin/Controller.js +1 -1
- package/libs/ModelMakerPlugin/index.js +1 -1
- package/libs/ModelMakerPlugin/item/baseItem.js +1 -1
- package/libs/ModelMakerPlugin/item/boxItem.js +1 -1
- package/libs/ModelMakerPlugin/item/polygonItem.js +1 -1
- package/libs/ModelMakerPlugin/item/prismItem.js +1 -1
- package/libs/ModelTVVideoPlugin/Plugin.js +1 -1
- package/libs/ModelTVVideoPlugin/index.js +1 -1
- package/libs/Object3DHelperPlugin/Controller.js +1 -1
- package/libs/Object3DHelperPlugin/index.js +1 -1
- package/libs/PanoCompassPlugin/Controller.js +1 -1
- package/libs/PanoCompassPlugin/index.js +1 -1
- package/libs/PanoDoorLabelPlugin/BaseController.js +1 -1
- package/libs/PanoDoorLabelPlugin/Controller.js +1 -1
- package/libs/PanoDoorLabelPlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Controller0.js +1 -1
- package/libs/PanoMeasurePlugin/Components/Controller1.js +1 -1
- 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/Model/area.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -1
- package/libs/PanoMeasurePlugin/Modules/UIController/index.js +1 -1
- package/libs/PanoMeasurePlugin/index.js +1 -1
- package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +1 -1
- package/libs/PanoSpatialTagPlugin/Plugin.js +1 -1
- package/libs/PanoSpatialTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/Components/Common/TagPoint.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +1 -1
- package/libs/PanoTagPlugin/Components/Tag/index.js +1 -1
- package/libs/PanoTagPlugin/Components/TagContainer.js +1 -1
- package/libs/PanoTagPlugin/Components/TagItem.js +1 -1
- package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +1 -1
- package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +1 -1
- package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +1 -1
- package/libs/PanoTagPlugin/controller/Tag/PointTag.js +1 -1
- package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
- package/libs/PanoTagPlugin/controller/TagUtil.js +1 -1
- package/libs/PanoTagPlugin/controller/index.js +1 -1
- package/libs/PanoTagPlugin/index.js +1 -1
- package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +1 -1
- package/libs/PanoVideoPlugin/Controller.js +1 -1
- package/libs/PanoVideoPlugin/VideoMeshController.js +1 -1
- package/libs/PanoVideoPlugin/index.js +1 -1
- package/libs/PipelinePlugin/Controller.js +1 -1
- package/libs/PipelinePlugin/index.js +1 -1
- package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +1 -1
- package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +1 -1
- package/libs/PipelinePlugin/utils/Objects/Pipe.js +1 -1
- package/libs/Sculpt/Meshes/Box.js +10 -10
- package/libs/Sculpt/Meshes/Line.js +18 -15
- package/libs/Sculpt/Meshes/Rectangle.d.ts +0 -1
- package/libs/Sculpt/Meshes/Rectangle.js +14 -17
- package/libs/Sculpt/Meshes/RectangleWithEdge.d.ts +9 -0
- package/libs/Sculpt/Meshes/RectangleWithEdge.js +29 -19
- package/libs/Sculpt/Objects/Line/index.d.ts +3 -3
- package/libs/Sculpt/Objects/Polygon/index.d.ts +3 -3
- package/libs/Sculpt/Objects/Polyline/index.d.ts +3 -3
- package/libs/Sculpt/Objects/Rectangle/index.d.ts +6 -2
- package/libs/Sculpt/Objects/Rectangle/index.js +77 -67
- package/libs/Sculpt/typings/style.d.ts +8 -1
- package/libs/Sculpt/utils/Meshes/getLengthHTML.js +2 -2
- package/libs/Sculpt/utils/three/RectangleGeometry.js +1 -1
- package/libs/base/BasePlugin.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/MapviewFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/ModelFloorplanPlugin/index.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
- package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +1 -1
- package/libs/floorplan/TopviewFloorplanPlugin/index.js +1 -1
- package/libs/index.js +1 -1
- package/libs/shared-utils/five/vector3ToScreen.js +5 -7
- package/libs/shared-utils/logger.js +1 -1
- package/libs/shared-utils/tag.d.ts +5 -0
- package/libs/shared-utils/tag.js +31 -26
- package/package.json +1 -1
- /package/dist/shared-utils/three/{raycaster.d.ts → temp.d.ts} +0 -0
- /package/libs/shared-utils/three/{raycaster.d.ts → temp.d.ts} +0 -0
- /package/libs/shared-utils/three/{raycaster.js → temp.js} +0 -0
|
@@ -31,11 +31,11 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
31
31
|
import "../shared-utils/tag.js";
|
|
32
32
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
33
33
|
import "../shared-utils/five/getFiveModel.js";
|
|
34
|
-
import "../shared-utils/three/raycaster.js";
|
|
35
34
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
36
35
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
37
36
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
38
37
|
import "../shared-utils/five/transformPosition.js";
|
|
38
|
+
import "../shared-utils/three/temp.js";
|
|
39
39
|
import "../Sculpt/utils/Modules/Global.js";
|
|
40
40
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
41
41
|
import "../Object3DHelperPlugin/Controller.js";
|
|
@@ -28,11 +28,11 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
28
28
|
import "../shared-utils/tag.js";
|
|
29
29
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
30
30
|
import "../shared-utils/five/getFiveModel.js";
|
|
31
|
-
import "../shared-utils/three/raycaster.js";
|
|
32
31
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
33
32
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
34
33
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
35
34
|
import "../shared-utils/five/transformPosition.js";
|
|
35
|
+
import "../shared-utils/three/temp.js";
|
|
36
36
|
import "../Sculpt/utils/Modules/Global.js";
|
|
37
37
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
38
38
|
import "../Object3DHelperPlugin/Controller.js";
|
|
@@ -25,12 +25,12 @@ import "../../../shared-utils/isNil.js";
|
|
|
25
25
|
import "../../../shared-utils/tag.js";
|
|
26
26
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
27
27
|
import "../../../shared-utils/five/getFiveModel.js";
|
|
28
|
-
import "../../../shared-utils/three/raycaster.js";
|
|
29
28
|
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
30
29
|
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
31
30
|
import "../../../shared-utils/Subscribe.js";
|
|
32
31
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
33
32
|
import "../../../shared-utils/five/transformPosition.js";
|
|
33
|
+
import "../../../shared-utils/three/temp.js";
|
|
34
34
|
import "../../../Sculpt/utils/Modules/Global.js";
|
|
35
35
|
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
36
36
|
import "../../../Object3DHelperPlugin/Controller.js";
|
|
@@ -19,12 +19,12 @@ import "../../../shared-utils/three/centerPoint.js";
|
|
|
19
19
|
import "../../../shared-utils/tag.js";
|
|
20
20
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
21
21
|
import "../../../shared-utils/five/getFiveModel.js";
|
|
22
|
-
import "../../../shared-utils/three/raycaster.js";
|
|
23
22
|
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
24
23
|
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
25
24
|
import "../../../shared-utils/Subscribe.js";
|
|
26
25
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
27
26
|
import "../../../shared-utils/five/transformPosition.js";
|
|
27
|
+
import "../../../shared-utils/three/temp.js";
|
|
28
28
|
import "../../../Sculpt/utils/Modules/Global.js";
|
|
29
29
|
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
30
30
|
import "../../../Object3DHelperPlugin/Controller.js";
|
|
@@ -79,12 +79,12 @@ import "../../../shared-utils/three/centerPoint.js";
|
|
|
79
79
|
import "../../../shared-utils/tag.js";
|
|
80
80
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
81
81
|
import "../../../shared-utils/five/getFiveModel.js";
|
|
82
|
-
import "../../../shared-utils/three/raycaster.js";
|
|
83
82
|
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
84
83
|
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
85
84
|
import "../../../shared-utils/Subscribe.js";
|
|
86
85
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
87
86
|
import "../../../shared-utils/five/transformPosition.js";
|
|
87
|
+
import "../../../shared-utils/three/temp.js";
|
|
88
88
|
import "../../../Sculpt/utils/Modules/Global.js";
|
|
89
89
|
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
90
90
|
import "../../../Object3DHelperPlugin/Controller.js";
|
|
@@ -72,12 +72,12 @@ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
72
72
|
import "../../shared-utils/tag.js";
|
|
73
73
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
74
74
|
import "../../shared-utils/five/getFiveModel.js";
|
|
75
|
-
import "../../shared-utils/three/raycaster.js";
|
|
76
75
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
77
76
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
78
77
|
import "../../shared-utils/Subscribe.js";
|
|
79
78
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
80
79
|
import "../../shared-utils/five/transformPosition.js";
|
|
80
|
+
import "../../shared-utils/three/temp.js";
|
|
81
81
|
import "../../Sculpt/utils/Modules/Global.js";
|
|
82
82
|
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
83
83
|
import "../../Object3DHelperPlugin/Controller.js";
|
|
@@ -74,12 +74,12 @@ import "../../shared-utils/three/centerPoint.js";
|
|
|
74
74
|
import "../../shared-utils/tag.js";
|
|
75
75
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
76
76
|
import "../../shared-utils/five/getFiveModel.js";
|
|
77
|
-
import "../../shared-utils/three/raycaster.js";
|
|
78
77
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
79
78
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
80
79
|
import "../../shared-utils/Subscribe.js";
|
|
81
80
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
82
81
|
import "../../shared-utils/five/transformPosition.js";
|
|
82
|
+
import "../../shared-utils/three/temp.js";
|
|
83
83
|
import "../../Sculpt/utils/Modules/Global.js";
|
|
84
84
|
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
85
85
|
import "../../Object3DHelperPlugin/Controller.js";
|
|
@@ -64,7 +64,7 @@ import { safeObj as z } from "../../../shared-utils/safeObj.js";
|
|
|
64
64
|
import { toArray as ae } from "../../../shared-utils/util.js";
|
|
65
65
|
import { Cache as fe } from "../../utils/Cache.js";
|
|
66
66
|
import { sleep as de } from "../../../CruisePlugin/utils/sleep.js";
|
|
67
|
-
import { _raycaster as V } from "../../../shared-utils/three/
|
|
67
|
+
import { _raycaster as V } from "../../../shared-utils/three/temp.js";
|
|
68
68
|
import "../../../shared-utils/typescript/entries.js";
|
|
69
69
|
import "../../utils/tag/adaptConfig.js";
|
|
70
70
|
import "../../typings/tag/TagConfig.js";
|
|
@@ -57,11 +57,11 @@ import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
57
57
|
import "../../../shared-utils/tag.js";
|
|
58
58
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
59
59
|
import "../../../shared-utils/five/getFiveModel.js";
|
|
60
|
-
import "../../../shared-utils/three/raycaster.js";
|
|
61
60
|
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
62
61
|
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
63
62
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
64
63
|
import "../../../shared-utils/five/transformPosition.js";
|
|
64
|
+
import "../../../shared-utils/three/temp.js";
|
|
65
65
|
import "../../../Sculpt/utils/Modules/Global.js";
|
|
66
66
|
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
67
67
|
import "../../../Object3DHelperPlugin/Controller.js";
|
|
@@ -35,11 +35,11 @@ import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
35
35
|
import "../../../shared-utils/tag.js";
|
|
36
36
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
37
37
|
import "../../../shared-utils/five/getFiveModel.js";
|
|
38
|
-
import "../../../shared-utils/three/raycaster.js";
|
|
39
38
|
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
40
39
|
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
41
40
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
42
41
|
import "../../../shared-utils/five/transformPosition.js";
|
|
42
|
+
import "../../../shared-utils/three/temp.js";
|
|
43
43
|
import "../../../Sculpt/utils/Modules/Global.js";
|
|
44
44
|
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
45
45
|
import "../../../Object3DHelperPlugin/Controller.js";
|
|
@@ -28,11 +28,11 @@ import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
28
28
|
import "../../../shared-utils/tag.js";
|
|
29
29
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
30
30
|
import "../../../shared-utils/five/getFiveModel.js";
|
|
31
|
-
import "../../../shared-utils/three/raycaster.js";
|
|
32
31
|
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
33
32
|
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
34
33
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
35
34
|
import "../../../shared-utils/five/transformPosition.js";
|
|
35
|
+
import "../../../shared-utils/three/temp.js";
|
|
36
36
|
import "../../../Sculpt/utils/Modules/Global.js";
|
|
37
37
|
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
38
38
|
import "../../../Object3DHelperPlugin/Controller.js";
|
|
@@ -102,12 +102,12 @@ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
102
102
|
import "../../shared-utils/tag.js";
|
|
103
103
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
104
104
|
import "../../shared-utils/five/getFiveModel.js";
|
|
105
|
-
import "../../shared-utils/three/raycaster.js";
|
|
106
105
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
107
106
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
108
107
|
import "../../shared-utils/Subscribe.js";
|
|
109
108
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
110
109
|
import "../../shared-utils/five/transformPosition.js";
|
|
110
|
+
import "../../shared-utils/three/temp.js";
|
|
111
111
|
import "../../Sculpt/utils/Modules/Global.js";
|
|
112
112
|
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
113
113
|
import "../../Object3DHelperPlugin/Controller.js";
|
|
@@ -39,11 +39,11 @@ import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
39
39
|
import "../../shared-utils/tag.js";
|
|
40
40
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
41
41
|
import "../../shared-utils/five/getFiveModel.js";
|
|
42
|
-
import "../../shared-utils/three/raycaster.js";
|
|
43
42
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
44
43
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
45
44
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
46
45
|
import "../../shared-utils/five/transformPosition.js";
|
|
46
|
+
import "../../shared-utils/three/temp.js";
|
|
47
47
|
import "../../Sculpt/utils/Modules/Global.js";
|
|
48
48
|
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
49
49
|
import "../../Object3DHelperPlugin/Controller.js";
|
|
@@ -118,12 +118,12 @@ import "../../shared-utils/three/centerPoint.js";
|
|
|
118
118
|
import "../../shared-utils/tag.js";
|
|
119
119
|
import "../../shared-utils/five/vector3ToScreen.js";
|
|
120
120
|
import "../../shared-utils/five/getFiveModel.js";
|
|
121
|
-
import "../../shared-utils/three/raycaster.js";
|
|
122
121
|
import "../../shared-utils/Utils/FiveUtil.js";
|
|
123
122
|
import "../../shared-utils/Utils/BaseUtil.js";
|
|
124
123
|
import "../../shared-utils/Subscribe.js";
|
|
125
124
|
import "../../shared-utils/Utils/WorkUtil.js";
|
|
126
125
|
import "../../shared-utils/five/transformPosition.js";
|
|
126
|
+
import "../../shared-utils/three/temp.js";
|
|
127
127
|
import "../../Sculpt/utils/Modules/Global.js";
|
|
128
128
|
import "../../Sculpt/utils/Modules/Cursor.js";
|
|
129
129
|
import "../../Object3DHelperPlugin/Controller.js";
|
|
@@ -83,12 +83,12 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
83
83
|
import "../shared-utils/tag.js";
|
|
84
84
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
85
85
|
import "../shared-utils/five/getFiveModel.js";
|
|
86
|
-
import "../shared-utils/three/raycaster.js";
|
|
87
86
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
88
87
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
89
88
|
import "../shared-utils/Subscribe.js";
|
|
90
89
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
91
90
|
import "../shared-utils/five/transformPosition.js";
|
|
91
|
+
import "../shared-utils/three/temp.js";
|
|
92
92
|
import "../Sculpt/utils/Modules/Global.js";
|
|
93
93
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
94
94
|
import "../Object3DHelperPlugin/Controller.js";
|
|
@@ -33,12 +33,12 @@ import "../../../shared-utils/isNil.js";
|
|
|
33
33
|
import "../../../shared-utils/tag.js";
|
|
34
34
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
35
35
|
import "../../../shared-utils/five/getFiveModel.js";
|
|
36
|
-
import "../../../shared-utils/three/raycaster.js";
|
|
37
36
|
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
38
37
|
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
39
38
|
import "../../../shared-utils/Subscribe.js";
|
|
40
39
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
41
40
|
import "../../../shared-utils/five/transformPosition.js";
|
|
41
|
+
import "../../../shared-utils/three/temp.js";
|
|
42
42
|
import "../../../Sculpt/utils/Modules/Global.js";
|
|
43
43
|
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
44
44
|
import "../../../Object3DHelperPlugin/Controller.js";
|
|
@@ -31,12 +31,12 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
31
31
|
import "../shared-utils/tag.js";
|
|
32
32
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
33
33
|
import "../shared-utils/five/getFiveModel.js";
|
|
34
|
-
import "../shared-utils/three/raycaster.js";
|
|
35
34
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
36
35
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
37
36
|
import "../shared-utils/Subscribe.js";
|
|
38
37
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
39
38
|
import "../shared-utils/five/transformPosition.js";
|
|
39
|
+
import "../shared-utils/three/temp.js";
|
|
40
40
|
import "../Sculpt/utils/Modules/Global.js";
|
|
41
41
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
42
42
|
import "../Object3DHelperPlugin/Controller.js";
|
|
@@ -21,12 +21,12 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
21
21
|
import "../shared-utils/tag.js";
|
|
22
22
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
23
23
|
import "../shared-utils/five/getFiveModel.js";
|
|
24
|
-
import "../shared-utils/three/raycaster.js";
|
|
25
24
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
26
25
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
27
26
|
import "../shared-utils/Subscribe.js";
|
|
28
27
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
29
28
|
import "../shared-utils/five/transformPosition.js";
|
|
29
|
+
import "../shared-utils/three/temp.js";
|
|
30
30
|
import "../Sculpt/utils/Modules/Global.js";
|
|
31
31
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
32
32
|
import "../Object3DHelperPlugin/Controller.js";
|
|
@@ -19,12 +19,12 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
19
19
|
import "../shared-utils/tag.js";
|
|
20
20
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
21
21
|
import "../shared-utils/five/getFiveModel.js";
|
|
22
|
-
import "../shared-utils/three/raycaster.js";
|
|
23
22
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
24
23
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
25
24
|
import "../shared-utils/Subscribe.js";
|
|
26
25
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
27
26
|
import "../shared-utils/five/transformPosition.js";
|
|
27
|
+
import "../shared-utils/three/temp.js";
|
|
28
28
|
import "../Sculpt/utils/Modules/Global.js";
|
|
29
29
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
30
30
|
import "../Object3DHelperPlugin/Controller.js";
|
|
@@ -50,11 +50,11 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
50
50
|
import "../shared-utils/tag.js";
|
|
51
51
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
52
52
|
import "../shared-utils/five/getFiveModel.js";
|
|
53
|
-
import "../shared-utils/three/raycaster.js";
|
|
54
53
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
55
54
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
56
55
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
57
56
|
import "../shared-utils/five/transformPosition.js";
|
|
57
|
+
import "../shared-utils/three/temp.js";
|
|
58
58
|
import "../Sculpt/utils/Modules/Global.js";
|
|
59
59
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
60
60
|
import "../Object3DHelperPlugin/Controller.js";
|
|
@@ -19,11 +19,11 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
19
19
|
import "../shared-utils/tag.js";
|
|
20
20
|
import "../shared-utils/five/vector3ToScreen.js";
|
|
21
21
|
import "../shared-utils/five/getFiveModel.js";
|
|
22
|
-
import "../shared-utils/three/raycaster.js";
|
|
23
22
|
import "../shared-utils/Utils/FiveUtil.js";
|
|
24
23
|
import "../shared-utils/Utils/BaseUtil.js";
|
|
25
24
|
import "../shared-utils/Utils/WorkUtil.js";
|
|
26
25
|
import "../shared-utils/five/transformPosition.js";
|
|
26
|
+
import "../shared-utils/three/temp.js";
|
|
27
27
|
import "../Sculpt/utils/Modules/Global.js";
|
|
28
28
|
import "../Sculpt/utils/Modules/Cursor.js";
|
|
29
29
|
import "../Object3DHelperPlugin/Controller.js";
|
|
@@ -20,12 +20,12 @@ import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
20
20
|
import "../../../shared-utils/tag.js";
|
|
21
21
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
22
22
|
import "../../../shared-utils/five/getFiveModel.js";
|
|
23
|
-
import "../../../shared-utils/three/raycaster.js";
|
|
24
23
|
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
25
24
|
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
26
25
|
import "../../../shared-utils/Subscribe.js";
|
|
27
26
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
28
27
|
import "../../../shared-utils/five/transformPosition.js";
|
|
28
|
+
import "../../../shared-utils/three/temp.js";
|
|
29
29
|
import "../../../Sculpt/utils/Modules/Global.js";
|
|
30
30
|
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
31
31
|
import "../../../Object3DHelperPlugin/Controller.js";
|
|
@@ -20,12 +20,12 @@ import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
20
20
|
import "../../../shared-utils/tag.js";
|
|
21
21
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
22
22
|
import "../../../shared-utils/five/getFiveModel.js";
|
|
23
|
-
import "../../../shared-utils/three/raycaster.js";
|
|
24
23
|
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
25
24
|
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
26
25
|
import "../../../shared-utils/Subscribe.js";
|
|
27
26
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
28
27
|
import "../../../shared-utils/five/transformPosition.js";
|
|
28
|
+
import "../../../shared-utils/three/temp.js";
|
|
29
29
|
import "../../../Sculpt/utils/Modules/Global.js";
|
|
30
30
|
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
31
31
|
import "../../../Object3DHelperPlugin/Controller.js";
|
|
@@ -45,12 +45,12 @@ import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
|
45
45
|
import "../../../shared-utils/tag.js";
|
|
46
46
|
import "../../../shared-utils/five/vector3ToScreen.js";
|
|
47
47
|
import "../../../shared-utils/five/getFiveModel.js";
|
|
48
|
-
import "../../../shared-utils/three/raycaster.js";
|
|
49
48
|
import "../../../shared-utils/Utils/FiveUtil.js";
|
|
50
49
|
import "../../../shared-utils/Utils/BaseUtil.js";
|
|
51
50
|
import "../../../shared-utils/Subscribe.js";
|
|
52
51
|
import "../../../shared-utils/Utils/WorkUtil.js";
|
|
53
52
|
import "../../../shared-utils/five/transformPosition.js";
|
|
53
|
+
import "../../../shared-utils/three/temp.js";
|
|
54
54
|
import "../../../Sculpt/utils/Modules/Global.js";
|
|
55
55
|
import "../../../Sculpt/utils/Modules/Cursor.js";
|
|
56
56
|
import "../../../Object3DHelperPlugin/Controller.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var s = (e, i, t) => (
|
|
1
|
+
var p = Object.defineProperty;
|
|
2
|
+
var d = (e, i, t) => i in e ? p(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t;
|
|
3
|
+
var s = (e, i, t) => (d(e, typeof i != "symbol" ? i + "" : i, t), t);
|
|
4
4
|
import { IObject3D as a } from "../../shared-utils/three/IObject3D.js";
|
|
5
|
-
import { anyPositionToVector3 as
|
|
5
|
+
import { anyPositionToVector3 as P } from "../../shared-utils/positionToVector3.js";
|
|
6
6
|
import "three";
|
|
7
7
|
import "hammerjs";
|
|
8
8
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
@@ -11,7 +11,7 @@ import "../../shared-utils/three/THREESphere.js";
|
|
|
11
11
|
import "animejs";
|
|
12
12
|
import { notNil as r } from "../../shared-utils/isNil.js";
|
|
13
13
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
14
|
-
import { RectangleWithEdgeMesh as
|
|
14
|
+
import { RectangleWithEdgeMesh as c } from "./RectangleWithEdge.js";
|
|
15
15
|
import { RectangleMesh as m } from "./Rectangle.js";
|
|
16
16
|
class w extends a {
|
|
17
17
|
constructor(t) {
|
|
@@ -21,7 +21,7 @@ class w extends a {
|
|
|
21
21
|
s(this, "topPlane");
|
|
22
22
|
s(this, "heightPoint");
|
|
23
23
|
s(this, "edgePlanes", []);
|
|
24
|
-
this.bottomPlane = new
|
|
24
|
+
this.bottomPlane = new c(t), this.topPlane = new c(t), this.add(this.bottomPlane), t != null && t.points && this.setPoints(t);
|
|
25
25
|
}
|
|
26
26
|
get planes() {
|
|
27
27
|
return this.children.filter((t) => t instanceof m);
|
|
@@ -50,7 +50,7 @@ class w extends a {
|
|
|
50
50
|
r(t.heightPoint) && this.setTopHeightPoint(t.heightPoint), r(t.points) && this.setBottomPoints(t.points);
|
|
51
51
|
}
|
|
52
52
|
setBottomPoints(t) {
|
|
53
|
-
const o = t.map(
|
|
53
|
+
const o = t.map(P).filter(r);
|
|
54
54
|
if (o.length < 3) {
|
|
55
55
|
console.error("Invalid position");
|
|
56
56
|
return;
|
|
@@ -60,7 +60,7 @@ class w extends a {
|
|
|
60
60
|
setTopHeightPoint(t) {
|
|
61
61
|
if (!this.bottomPlane.points.length)
|
|
62
62
|
return;
|
|
63
|
-
const o =
|
|
63
|
+
const o = P(t);
|
|
64
64
|
this.heightPoint = o, this.addIfNotExists(this.topPlane);
|
|
65
65
|
const h = this.bottomPlane.projectPoint(o), n = o.clone().sub(h), l = this.bottomPlane.points.map((g) => g.clone().add(n));
|
|
66
66
|
this.topPlane.setPoints(l), this.up.copy(n.clone().normalize()), this.setEdgePlanes();
|
|
@@ -68,14 +68,14 @@ class w extends a {
|
|
|
68
68
|
setEdgePlanes() {
|
|
69
69
|
for (let t = 0; t < 4; t++) {
|
|
70
70
|
let o = this.edgePlanes[t];
|
|
71
|
-
o || (this.edgePlanes[t] = new
|
|
71
|
+
o || (this.edgePlanes[t] = new c({
|
|
72
72
|
color: this.color,
|
|
73
73
|
lineColor: this.lineColor,
|
|
74
74
|
lineWidth: this.lineWidth,
|
|
75
75
|
occlusionVisibility: this.occlusionVisibility,
|
|
76
76
|
occlusionMode: this.occlusionMode
|
|
77
77
|
}), o = this.edgePlanes[t]);
|
|
78
|
-
const h = this.topPlane.
|
|
78
|
+
const h = this.topPlane.points, n = this.bottomPlane.points, l = t === 3 ? 0 : t + 1;
|
|
79
79
|
o.setPoints([h[t], n[l], n[t]]), o.line.setPoints([h[t], n[t]]), this.addIfNotExists(o);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
var _ = Object.defineProperty;
|
|
2
2
|
var b = Object.getOwnPropertySymbols;
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var k = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var f = (s, o, e) => o in s ? _(s, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[o] = e, y = (s, o) => {
|
|
5
5
|
for (var e in o || (o = {}))
|
|
6
|
-
|
|
6
|
+
k.call(o, e) && f(s, e, o[e]);
|
|
7
7
|
if (b)
|
|
8
8
|
for (var e of b(o))
|
|
9
|
-
|
|
9
|
+
S.call(o, e) && f(s, e, o[e]);
|
|
10
10
|
return s;
|
|
11
11
|
};
|
|
12
|
-
var h = (s, o, e) => (
|
|
12
|
+
var h = (s, o, e) => (f(s, typeof o != "symbol" ? o + "" : o, e), e);
|
|
13
13
|
import * as d from "three";
|
|
14
14
|
import { DEFAULT_LINE_COLOR as m, DEFAULT_LINE_WIDTH as M, DEFAULT_HIGHLIGHT_OPACITY as D } from "../typings/style.js";
|
|
15
|
-
import { LineGeometry as
|
|
15
|
+
import { LineGeometry as L, LineMaterial as w, THREE_Line2 as H } from "../../shared-utils/five/FiveLine.js";
|
|
16
16
|
import { anyPositionToVector3 as C } from "../../shared-utils/positionToVector3.js";
|
|
17
17
|
import { IObject3D as I } from "../../shared-utils/three/IObject3D.js";
|
|
18
18
|
import "hammerjs";
|
|
@@ -54,7 +54,7 @@ class T extends H {
|
|
|
54
54
|
}
|
|
55
55
|
class X extends I {
|
|
56
56
|
constructor(e) {
|
|
57
|
-
var l, r,
|
|
57
|
+
var l, r, u, a, g;
|
|
58
58
|
super();
|
|
59
59
|
h(this, "name", "LineMesh");
|
|
60
60
|
h(this, "points");
|
|
@@ -65,15 +65,15 @@ class X extends I {
|
|
|
65
65
|
h(this, "opacityBeforeHighlight");
|
|
66
66
|
h(this, "paramsStyle", {});
|
|
67
67
|
this.paramsStyle = e != null ? e : {};
|
|
68
|
-
const n = new
|
|
68
|
+
const n = new L(), t = new E({
|
|
69
69
|
color: new d.Color((l = e == null ? void 0 : e.lineColor) != null ? l : m),
|
|
70
70
|
linewidth: (r = e == null ? void 0 : e.lineWidth) != null ? r : M,
|
|
71
71
|
dashScale: 40,
|
|
72
|
-
opacity: (
|
|
72
|
+
opacity: (u = e == null ? void 0 : e.opacity) != null ? u : 1,
|
|
73
73
|
transparent: !0,
|
|
74
74
|
dashed: (a = e == null ? void 0 : e.dashed) != null ? a : !1
|
|
75
75
|
}), i = new E({
|
|
76
|
-
color: new d.Color((
|
|
76
|
+
color: new d.Color((g = e == null ? void 0 : e.lineColor) != null ? g : m),
|
|
77
77
|
linewidth: t.linewidth * 0.9,
|
|
78
78
|
dashScale: t.dashScale,
|
|
79
79
|
opacity: t.opacity * 0.8,
|
|
@@ -114,12 +114,12 @@ class X extends I {
|
|
|
114
114
|
setPoints(e) {
|
|
115
115
|
const n = e.map(C).filter(c);
|
|
116
116
|
if (this.points = n, n.length < 2) {
|
|
117
|
-
this.line.geometry = new
|
|
117
|
+
this.line.geometry = new L(), this.backLine.geometry = this.line.geometry, this.updateLengthItems();
|
|
118
118
|
return;
|
|
119
119
|
}
|
|
120
120
|
this.addIfNotExists(this.line, this.backLine);
|
|
121
121
|
const t = n.flatMap((i) => [i.x, i.y, i.z]);
|
|
122
|
-
t.length > 2 && (this.line.geometry.dispose(), this.line.geometry = new
|
|
122
|
+
t.length > 2 && (this.line.geometry.dispose(), this.line.geometry = new L(), this.backLine.geometry = this.line.geometry), this.line.geometry.setPositions(t), this.line.computeLineDistances(), this.updateLengthItems(), this.needsRender = !0;
|
|
123
123
|
}
|
|
124
124
|
setResolution(e, n) {
|
|
125
125
|
const t = this.line.material.resolution;
|
|
@@ -129,7 +129,7 @@ class X extends I {
|
|
|
129
129
|
}
|
|
130
130
|
setStyle(e) {
|
|
131
131
|
var i, l, r;
|
|
132
|
-
this.paramsStyle =
|
|
132
|
+
this.paramsStyle = y(y({}, this.paramsStyle), e), c(e.lineColor) && (this.line.material.three_color = new d.Color(e.lineColor), this.backLine.material.three_color = new d.Color(e.lineColor)), c(e.lineWidth) && (this.line.material.linewidth = e.lineWidth), c(e.dashed) && this.line.material.setDashed(e.dashed), c(e.opacity) && (this.line.material.opacity = e.opacity, this.backLine.material.opacity = this.line.material.opacity * 0.2), this.updateLengthItems();
|
|
133
133
|
const n = (i = e.occlusionVisibility) != null ? i : this.paramsStyle.occlusionVisibility, t = (r = (l = e.occlusionMode) != null ? l : this.paramsStyle.occlusionMode) != null ? r : "translucence";
|
|
134
134
|
n ? t === "depthTest" ? (this.line.material.depthTest = !1, this.backLine.visible = !1) : t === "translucence" && (this.line.material.depthTest = !0, this.backLine.visible = !0, this.line.material.opacity === 1 ? this.backLine.material.setDashed(!0) : this.backLine.material.setDashed(this.line.material.dashed)) : (this.line.material.depthTest = !0, this.backLine.visible = !1), this.needsRender = !0;
|
|
135
135
|
}
|
|
@@ -148,8 +148,11 @@ class X extends I {
|
|
|
148
148
|
}).filter(c)) != null ? n : [];
|
|
149
149
|
t.forEach(([i, l], r) => {
|
|
150
150
|
var a;
|
|
151
|
-
const
|
|
152
|
-
this.lengthDoms[r] = (a = this.lengthDoms[r]) != null ? a :
|
|
151
|
+
const u = R(i, l);
|
|
152
|
+
this.lengthDoms[r] = (a = this.lengthDoms[r]) != null ? a : (() => {
|
|
153
|
+
const g = new p(x.five);
|
|
154
|
+
return g.intersectCheck = !1, g;
|
|
155
|
+
})(), this.lengthDoms[r].setPosition(u, [i, l]), this.lengthDoms[r].container.innerHTML = V(i.distanceTo(l).toFixed(2) + "m");
|
|
153
156
|
}), this.lengthDoms.length > t.length && (this.lengthDoms.slice(t.length).forEach((i) => i.destroy()), this.lengthDoms.length = t.length);
|
|
154
157
|
} else
|
|
155
158
|
this.lengthDoms.forEach((t) => t.destroy()), this.lengthDoms = [];
|
|
@@ -18,7 +18,6 @@ export declare class RectangleMesh extends PolygonMesh {
|
|
|
18
18
|
* @description: 构造矩形所需的三个点
|
|
19
19
|
*/
|
|
20
20
|
get builtPoints(): THREE.Vector3[];
|
|
21
|
-
get sortedPoint(): THREE.Vector3[];
|
|
22
21
|
constructor(params?: Partial<RectangleStyle & RectangleData>);
|
|
23
22
|
setPoints(points: AnyPositions): void;
|
|
24
23
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var i = (r, e, t) => (
|
|
1
|
+
var l = Object.defineProperty;
|
|
2
|
+
var c = (r, e, t) => e in r ? l(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
|
+
var i = (r, e, t) => (c(r, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
4
|
import { anyPositionToVector3 as a } from "../../shared-utils/positionToVector3.js";
|
|
5
|
-
import
|
|
5
|
+
import "three";
|
|
6
6
|
import "hammerjs";
|
|
7
7
|
import "three/examples/jsm/renderers/CSS3DRenderer";
|
|
8
8
|
import "./Line.js";
|
|
9
9
|
import "../../shared-utils/three/THREESphere.js";
|
|
10
10
|
import "animejs";
|
|
11
|
-
import { notNil as
|
|
11
|
+
import { notNil as h } from "../../shared-utils/isNil.js";
|
|
12
12
|
import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
|
|
13
|
-
import { PolygonMesh as
|
|
13
|
+
import { PolygonMesh as u } from "./Polygon.js";
|
|
14
14
|
import { RectangleGeometry as g } from "../utils/three/RectangleGeometry.js";
|
|
15
|
-
import { getBetterNormal as
|
|
16
|
-
import { Sculpt as
|
|
17
|
-
class
|
|
15
|
+
import { getBetterNormal as f } from "../utils/getBetterNormal.js";
|
|
16
|
+
import { Sculpt as d } from "../index.js";
|
|
17
|
+
class S extends u {
|
|
18
18
|
constructor(t) {
|
|
19
19
|
super(t);
|
|
20
20
|
i(this, "name", "RectangleMesh");
|
|
@@ -29,22 +29,19 @@ class B extends f {
|
|
|
29
29
|
var t, o;
|
|
30
30
|
return (o = (t = this.meshFont) == null ? void 0 : t.geometry) == null ? void 0 : o.points.slice(0, 3);
|
|
31
31
|
}
|
|
32
|
-
get sortedPoint() {
|
|
33
|
-
return [this.points[0], this.points[2], this.points[1], this.points[3]].filter(s);
|
|
34
|
-
}
|
|
35
32
|
setPoints(t) {
|
|
36
|
-
const o = t.map(a).filter(
|
|
33
|
+
const o = t.map(a).filter(h);
|
|
37
34
|
if (o.length < 3) {
|
|
38
35
|
console.error("Invalid position");
|
|
39
36
|
return;
|
|
40
37
|
}
|
|
41
38
|
if (t.length === 3) {
|
|
42
|
-
const [
|
|
43
|
-
o.push(
|
|
39
|
+
const [s, m, n] = o, p = s.clone().add(n).sub(m);
|
|
40
|
+
o.push(p);
|
|
44
41
|
}
|
|
45
|
-
this.up.copy(
|
|
42
|
+
this.up.copy(f(o, d.modules.five.camera.position)), this.points = o, this.geometry = new g(o), this.planeHelperNeedUpdate = !0;
|
|
46
43
|
}
|
|
47
44
|
}
|
|
48
45
|
export {
|
|
49
|
-
|
|
46
|
+
S as RectangleMesh
|
|
50
47
|
};
|
|
@@ -8,6 +8,15 @@ export type RectangleWithEdgeMeshStyle = RectangleStyle & LineStyle;
|
|
|
8
8
|
*/
|
|
9
9
|
export declare class RectangleWithEdgeMesh extends RectangleMesh {
|
|
10
10
|
name: string;
|
|
11
|
+
get style(): {
|
|
12
|
+
lineColor: import("three").Color;
|
|
13
|
+
lineWidth: number;
|
|
14
|
+
dashed: boolean;
|
|
15
|
+
occlusionVisibility: boolean;
|
|
16
|
+
occlusionMode: "translucence" | "depthTest";
|
|
17
|
+
color: import("three").Color;
|
|
18
|
+
opacity: number;
|
|
19
|
+
};
|
|
11
20
|
get lineWidth(): number;
|
|
12
21
|
get lineColor(): import("three").Color;
|
|
13
22
|
line: PolylineMesh;
|