shop-components 0.1.2 → 0.1.5
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/shop-components.mjs
CHANGED
|
@@ -34450,8 +34450,8 @@ class wO extends yt {
|
|
|
34450
34450
|
init(A) {
|
|
34451
34451
|
this._app = A, this.sizeBox.init(A), this.addEventListener("shape-key-changed", (t, e) => {
|
|
34452
34452
|
this._slots.forEach((i) => i.shapeKeyChanged(t, e)), this.sizeBox.follow === t ? (this.sizeBox.generate(this._container, e), this.sizeBox.originOffset && (this._container.traverse((i) => {
|
|
34453
|
-
if (i instanceof qt && i.geometry.translate(this.sizeBox.originOffset - this.sizeBox.translateCache, 0, 0), i instanceof Sm) {
|
|
34454
|
-
const s = new E(this.sizeBox.originOffset, 0, 0).applyQuaternion(i.parent.quaternion);
|
|
34453
|
+
if (i instanceof qt && i.geometry.translate(this.sizeBox.originOffset - this.sizeBox.translateCache, 0, 0), i instanceof Sm && i.parent) {
|
|
34454
|
+
const s = new E(this.sizeBox.originOffset - this.sizeBox.translateCache, 0, 0).applyQuaternion(i.parent.quaternion);
|
|
34455
34455
|
i.position.add(s);
|
|
34456
34456
|
}
|
|
34457
34457
|
}), this.sizeBox.translateCache = this.sizeBox.originOffset, this.sizeBox.generate(this._container))) : this.sizeBox.generate(this._container);
|
|
@@ -36474,7 +36474,7 @@ class eb {
|
|
|
36474
36474
|
}
|
|
36475
36475
|
class C5 extends eb {
|
|
36476
36476
|
constructor() {
|
|
36477
|
-
const A = new Worker(new URL("
|
|
36477
|
+
const A = new Worker(new URL("" + new URL("assets/generateMeshBVH.worker-NFSCTTDt.js", import.meta.url).href, import.meta.url), { type: "module" });
|
|
36478
36478
|
super(A), this.name = "GenerateMeshBVHWorker";
|
|
36479
36479
|
}
|
|
36480
36480
|
runTask(A, t, e = {}) {
|
|
@@ -36519,7 +36519,7 @@ class C5 extends eb {
|
|
|
36519
36519
|
const ib = typeof navigator < "u" ? navigator.hardwareConcurrency : 4;
|
|
36520
36520
|
class x5 extends eb {
|
|
36521
36521
|
constructor() {
|
|
36522
|
-
const A = new Worker(new URL("
|
|
36522
|
+
const A = new Worker(new URL("" + new URL("assets/parallelMeshBVH.worker-TP6qJGKX.js", import.meta.url).href, import.meta.url), { type: "module" });
|
|
36523
36523
|
if (super(A), this.name = "ParallelMeshBVHWorker", this.maxWorkerCount = Math.max(ib, 4), !x0())
|
|
36524
36524
|
throw new Error("ParallelMeshBVHWorker: Shared Array Buffers are not supported.");
|
|
36525
36525
|
}
|