iflow-engine-base 2.1.1 → 2.1.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.
|
@@ -182,7 +182,7 @@ class jl {
|
|
|
182
182
|
this.renderer?.dispose();
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
const Ar = { type: "change" }, cr = { type: "start" }, na = { type: "end" }, Yn = new rr(), Cr = new Xi(), Gl = Math.cos(70 * or.DEG2RAD), ve = new J(), Ne =
|
|
185
|
+
const Ar = { type: "change" }, cr = { type: "start" }, na = { type: "end" }, Yn = new rr(), Cr = new Xi(), Gl = Math.cos(70 * or.DEG2RAD), ve = new J(), Ne = 0.25 * Math.PI, fe = {
|
|
186
186
|
NONE: -1,
|
|
187
187
|
ROTATE: 0,
|
|
188
188
|
DOLLY: 1,
|
|
@@ -11519,7 +11519,7 @@ function rd(o, e, t) {
|
|
|
11519
11519
|
var x = o.container.clientWidth / o.container.clientHeight, _ = y * 0.6;
|
|
11520
11520
|
e.camera.left = -_ * x, e.camera.right = _ * x, e.camera.top = _, e.camera.bottom = -_, e.camera.zoom = 1, e.camera.updateProjectionMatrix();
|
|
11521
11521
|
}
|
|
11522
|
-
l(e.camera.position, w, o.controls.target.clone(), u);
|
|
11522
|
+
o.controlModule.orbitControls.origin = u.clone(), l(e.camera.position, w, o.controls.target.clone(), u);
|
|
11523
11523
|
}, n.zoomToBox = function(f) {
|
|
11524
11524
|
if (e.camera.isOrthographicCamera) {
|
|
11525
11525
|
let O = function() {
|
|
@@ -12930,13 +12930,13 @@ class pd {
|
|
|
12930
12930
|
text: Math.round(e.catch.point.y) + " m",
|
|
12931
12931
|
isSelect: !0,
|
|
12932
12932
|
type: "point"
|
|
12933
|
-
}, this.engine.measure.annotationData.coordinateAnnotation.push(t)), t.point = e.catch.point.clone(), t.textX = e.catch.point.x, t.textY = e.catch.point.y, t.textZ = e.catch.point.z
|
|
12933
|
+
}, this.engine.measure.annotationData.coordinateAnnotation.push(t)), t.point = e.catch.point.clone(), t.textX = e.catch.point.x, t.textY = e.catch.point.y, t.textZ = e.catch.point.z;
|
|
12934
12934
|
}
|
|
12935
12935
|
handleMouseClick(e) {
|
|
12936
12936
|
if (e.catch == null)
|
|
12937
12937
|
return;
|
|
12938
12938
|
let t = this.engine.measure.annotationData.coordinateAnnotation.find((n) => n.isSelect == !0);
|
|
12939
|
-
t != null && (t.point = e.catch.point.clone(), t.textX = e.catch.point.x, t.textY = e.catch.point.y, t.textZ = e.catch.point.z, this.engine.events.trigger(Se.MeasureChanged, t));
|
|
12939
|
+
t != null && (t.point = e.catch.point.clone(), t.textX = e.catch.point.x, t.textY = e.catch.point.y, t.textZ = e.catch.point.z, t.isSelect = !1, this.engine.events.trigger(Se.MeasureChanged, t));
|
|
12940
12940
|
}
|
|
12941
12941
|
createMeasure() {
|
|
12942
12942
|
let e = this.engine.measure.annotationData.coordinateAnnotation.find((t) => t.isSelect == !0);
|
|
@@ -18796,7 +18796,7 @@ class kp {
|
|
|
18796
18796
|
// 业务数据
|
|
18797
18797
|
models = [];
|
|
18798
18798
|
reactBoundingClientRect = { left: 0, top: 0 };
|
|
18799
|
-
version = "2.1.
|
|
18799
|
+
version = "2.1.3";
|
|
18800
18800
|
versionEl = null;
|
|
18801
18801
|
// 引擎容器
|
|
18802
18802
|
container;
|