@realsee/dnalogel 3.50.2 → 3.50.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.
@@ -18,7 +18,7 @@ let P = class {
18
18
  /**
19
19
  * @realsee/dnalogel 版本号
20
20
  */
21
- i(this, "VERSION", "3.50.2");
21
+ i(this, "VERSION", "3.50.3");
22
22
  i(this, "NAME");
23
23
  i(this, "five");
24
24
  i(this, "workUtil");
@@ -1,20 +1,20 @@
1
- var h = Object.defineProperty;
2
- var c = (i, s, t) => s in i ? h(i, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[s] = t;
3
- var n = (i, s, t) => (c(i, typeof s != "symbol" ? s + "" : s, t), t);
1
+ var c = Object.defineProperty;
2
+ var h = (e, s, t) => s in e ? c(e, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[s] = t;
3
+ var n = (e, s, t) => (h(e, typeof s != "symbol" ? s + "" : s, t), t);
4
4
  import * as l from "three";
5
5
  import { Vector3 as a } from "three";
6
6
  import { setObjectQuaternion as d } from "../utils/setObjectQuaternion.js";
7
7
  import { IObject3D as b } from "../../three/IObject3D.js";
8
8
  import { boundingBox as m, boundingSphere as u } from "../../three/boundingBox.js";
9
9
  class r extends b {
10
- constructor(t, e) {
10
+ constructor(t, i) {
11
11
  var o, p;
12
12
  super();
13
13
  n(this, "originObject3D");
14
14
  n(this, "onRender");
15
15
  n(this, "positionFrom");
16
- this.originObject3D = t, this.onRender = (o = e == null ? void 0 : e.onRender) != null ? o : () => {
17
- }, this.positionFrom = (p = e == null ? void 0 : e.positionFrom) != null ? p : "objectPosition";
16
+ this.originObject3D = t, this.onRender = (o = i == null ? void 0 : i.onRender) != null ? o : () => {
17
+ }, this.positionFrom = (p = i == null ? void 0 : i.positionFrom) != null ? p : "objectPosition";
18
18
  }
19
19
  get helperObject() {
20
20
  return this;
@@ -34,27 +34,27 @@ class r extends b {
34
34
  hide() {
35
35
  this.visible = !1, this.render();
36
36
  }
37
- raycasterIntersectObject(t, e = []) {
38
- return t.intersectObject(this, !0, e);
37
+ raycasterIntersectObject(t, i = []) {
38
+ return t.intersectObject(this, !0, i);
39
39
  }
40
40
  initialPosition(t) {
41
- var e, o;
42
- this.positionFrom === "objectPosition" ? this.position.copy(this.originObject3D.position) : this.positionFrom === "boundingBox" ? this.position.copy((e = m(this.originObject3D)) == null ? void 0 : e.getCenter(new l.Vector3())) : this.positionFrom === "boundingSphere" ? this.position.copy((o = u(this.originObject3D)) == null ? void 0 : o.center) : this.positionFrom instanceof a ? this.position.copy(this.positionFrom) : this.positionFrom instanceof Function && this.position.copy(this.positionFrom(this.originObject3D)), t && this.position.add(t);
41
+ var i, o;
42
+ this.positionFrom === "objectPosition" ? this.position.copy(this.originObject3D.position) : this.positionFrom === "boundingBox" ? this.position.copy((i = m(this.originObject3D)) == null ? void 0 : i.getCenter(new l.Vector3()).applyMatrix4(this.originObject3D.matrixWorld)) : this.positionFrom === "boundingSphere" ? this.position.copy((o = u(this.originObject3D)) == null ? void 0 : o.center.clone().applyMatrix4(this.originObject3D.matrixWorld)) : this.positionFrom instanceof a ? this.position.copy(this.positionFrom) : this.positionFrom instanceof Function && this.position.copy(this.positionFrom(this.originObject3D)), t && this.position.add(t);
43
43
  }
44
44
  setScaleByCamera(t) {
45
45
  }
46
46
  initQuaternion() {
47
47
  this.quaternion.copy(this.originObject3D.quaternion);
48
48
  }
49
- applyHelperScaleMatrix4(t, e) {
49
+ applyHelperScaleMatrix4(t, i) {
50
50
  this.scale.applyMatrix4(t);
51
51
  }
52
- setHelperQuaternion(t, e) {
53
- d(this, t, e);
52
+ setHelperQuaternion(t, i) {
53
+ d(this, t, i);
54
54
  }
55
- applyHelperQuaternion(t, e) {
56
- if (e) {
57
- const o = new a().subVectors(this.position, e).applyQuaternion(t).add(e);
55
+ applyHelperQuaternion(t, i) {
56
+ if (i) {
57
+ const o = new a().subVectors(this.position, i).applyQuaternion(t).add(i);
58
58
  this.position.copy(o);
59
59
  }
60
60
  this.applyQuaternion(t);
@@ -63,20 +63,20 @@ class r extends b {
63
63
  this.removeFromParent();
64
64
  }
65
65
  }
66
+ class D extends r {
67
+ }
66
68
  class H extends r {
67
69
  }
68
- class D extends r {
70
+ class g extends r {
69
71
  }
70
72
  class R extends r {
71
73
  }
72
74
  class v extends r {
73
75
  }
74
- class B extends r {
75
- }
76
76
  export {
77
- D as BoundingBoxHelperAbstract,
78
- H as MoveHelperAbstract,
79
- B as RectangleScaleHelperAbstract,
80
- R as RotateHelperAbstract,
81
- v as ScaleHelperAbstract
77
+ H as BoundingBoxHelperAbstract,
78
+ D as MoveHelperAbstract,
79
+ v as RectangleScaleHelperAbstract,
80
+ g as RotateHelperAbstract,
81
+ R as ScaleHelperAbstract
82
82
  };
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.50.2",
3
+ "%c %c@realsee/dnalogel %cv3.50.3",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.50.2",
3
+ "version": "3.50.3",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",