@adatechnology/game-floorplan-three 0.10.2 → 0.10.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.
- package/dist/{chunk-Y3Y7NYOL.js → chunk-JZQA7G63.js} +4 -3
- package/dist/chunk-JZQA7G63.js.map +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.global.js +4 -2
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/{testing-BK7QmoUq.d.ts → testing-DWLAejq6.d.ts} +117 -6
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +1 -1
- package/package.json +10 -10
- package/dist/chunk-Y3Y7NYOL.js.map +0 -1
|
@@ -6400,7 +6400,8 @@ function installDestructionPieces(K, shared) {
|
|
|
6400
6400
|
l.push(it);
|
|
6401
6401
|
};
|
|
6402
6402
|
root.updateMatrixWorld(true);
|
|
6403
|
-
root.traverse((
|
|
6403
|
+
root.traverse((o0) => {
|
|
6404
|
+
const o = o0;
|
|
6404
6405
|
if (o.isMesh && o.userData.ranges) {
|
|
6405
6406
|
const nv = o.geometry.attributes.position.count;
|
|
6406
6407
|
for (const f of o.userData.ranges) add(f.id, { mesh: o, v0: f.v0, v1: f.v1, i0: f.i0, i1: f.i1, whole: f.v0 === 0 && f.v1 === nv });
|
|
@@ -6896,7 +6897,7 @@ function installDestructionBreach(K, _shared) {
|
|
|
6896
6897
|
return { center: local(chip.center), along: a, up: u };
|
|
6897
6898
|
}
|
|
6898
6899
|
function newView(hostId) {
|
|
6899
|
-
const items = structure.meshesOf(hostId).filter((it) => it.mesh);
|
|
6900
|
+
const items = structure.meshesOf(hostId).filter((it) => !!it.mesh);
|
|
6900
6901
|
if (!items.length) return null;
|
|
6901
6902
|
const parts = [hostId, ...riders(hostId)].filter((id) => structure.byId.get(id) && specOf(id)?.units);
|
|
6902
6903
|
const mask = maskOf(hostId, parts), core = maskOf(hostId, parts);
|
|
@@ -9109,4 +9110,4 @@ export {
|
|
|
9109
9110
|
FLOORPLAN_AREA_ID,
|
|
9110
9111
|
createFloorplanTestModule
|
|
9111
9112
|
};
|
|
9112
|
-
//# sourceMappingURL=chunk-
|
|
9113
|
+
//# sourceMappingURL=chunk-JZQA7G63.js.map
|