soonspacejs 2.15.2 → 2.15.4
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/dist/index.esm.js +5 -5
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -24,7 +24,7 @@ import * as wi from "three/examples/jsm/utils/SkeletonUtils.js";
|
|
|
24
24
|
import * as jc from "three/examples/jsm/libs/fflate.module.js";
|
|
25
25
|
import { NURBSCurve as Uc } from "three/examples/jsm/curves/NURBSCurve.js";
|
|
26
26
|
import { RectAreaLightHelper as Gc } from "three/examples/jsm/helpers/RectAreaLightHelper.js";
|
|
27
|
-
const Vc = "soonspacejs", Hc = "2.15.
|
|
27
|
+
const Vc = "soonspacejs", Hc = "2.15.4", bi = {
|
|
28
28
|
name: Vc,
|
|
29
29
|
version: Hc
|
|
30
30
|
}, wa = "[soonspacejs]: ";
|
|
@@ -7985,8 +7985,8 @@ class Ht extends De {
|
|
|
7985
7985
|
}
|
|
7986
7986
|
getBoundingBox(e = 50) {
|
|
7987
7987
|
e = e <= 0 ? 50 : e;
|
|
7988
|
-
const t = new D(), n = new D(
|
|
7989
|
-
return t.
|
|
7988
|
+
const t = this.getWorldPosition(new D()), n = new D(e, e, e);
|
|
7989
|
+
return new Wt(t.clone().sub(n), t.add(n));
|
|
7990
7990
|
}
|
|
7991
7991
|
_create2D() {
|
|
7992
7992
|
this.add(new Jr(this.element));
|
|
@@ -8034,8 +8034,8 @@ class Bs extends De {
|
|
|
8034
8034
|
}
|
|
8035
8035
|
getBoundingBox(e = 50) {
|
|
8036
8036
|
e = e <= 0 ? 50 : e;
|
|
8037
|
-
const t = new D(), n = new D(
|
|
8038
|
-
return t.
|
|
8037
|
+
const t = this.getWorldPosition(new D()), n = new D(e, e, e);
|
|
8038
|
+
return new Wt(t.clone().sub(n), t.add(n));
|
|
8039
8039
|
}
|
|
8040
8040
|
copy(e, t = !1) {
|
|
8041
8041
|
return super.copy(e, t), this.icon = e.icon?.clone(), this.text = e.text?.clone(), this.clear(), this.icon && this.add(this.icon), this.text && this.add(this.text), this.iconType = e.iconType, this.scaleFixed = e.scaleFixed, this;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "soonspacejs",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.4",
|
|
4
4
|
"homepage": "https://www.xwbuilders.com/soonspacejs/",
|
|
5
5
|
"description": "soonspacejs 2.x",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -33,4 +33,4 @@
|
|
|
33
33
|
"three-mesh-bvh": ">=0.9.9"
|
|
34
34
|
},
|
|
35
35
|
"gitHead": "4a87dd85050651088e11c3da777c49fab3db7e5d"
|
|
36
|
-
}
|
|
36
|
+
}
|