@adatechnology/game-items-three 0.7.5 → 0.7.6
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.global.js +4 -3
- package/dist/index.global.js.map +1 -1
- package/package.json +8 -8
package/dist/index.global.js
CHANGED
|
@@ -21120,7 +21120,7 @@ uniform mat4 uNodes[${nodes.length}]; attribute float aNodeIndex; attribute vec3
|
|
|
21120
21120
|
}
|
|
21121
21121
|
var towerLocales = { en: { labels: en_default.labels }, "pt-BR": { labels: pt_BR_default.labels } };
|
|
21122
21122
|
|
|
21123
|
-
// ../game-floorplan-three/dist/chunk-
|
|
21123
|
+
// ../game-floorplan-three/dist/chunk-JZQA7G63.js
|
|
21124
21124
|
var __defProp2 = Object.defineProperty;
|
|
21125
21125
|
var __defNormalProp = (obj, key2, value) => key2 in obj ? __defProp2(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
|
|
21126
21126
|
var __publicField = (obj, key2, value) => __defNormalProp(obj, typeof key2 !== "symbol" ? key2 + "" : key2, value);
|
|
@@ -27383,7 +27383,8 @@ uniform mat4 uNodes[${nodes.length}]; attribute float aNodeIndex; attribute vec3
|
|
|
27383
27383
|
l.push(it);
|
|
27384
27384
|
};
|
|
27385
27385
|
root.updateMatrixWorld(true);
|
|
27386
|
-
root.traverse((
|
|
27386
|
+
root.traverse((o0) => {
|
|
27387
|
+
const o = o0;
|
|
27387
27388
|
if (o.isMesh && o.userData.ranges) {
|
|
27388
27389
|
const nv = o.geometry.attributes.position.count;
|
|
27389
27390
|
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 });
|
|
@@ -27876,7 +27877,7 @@ uniform mat4 uNodes[${nodes.length}]; attribute float aNodeIndex; attribute vec3
|
|
|
27876
27877
|
return { center: local(chip.center), along: a, up: u };
|
|
27877
27878
|
}
|
|
27878
27879
|
function newView(hostId) {
|
|
27879
|
-
const items = structure.meshesOf(hostId).filter((it) => it.mesh);
|
|
27880
|
+
const items = structure.meshesOf(hostId).filter((it) => !!it.mesh);
|
|
27880
27881
|
if (!items.length) return null;
|
|
27881
27882
|
const parts = [hostId, ...riders(hostId)].filter((id) => structure.byId.get(id) && specOf(id)?.units);
|
|
27882
27883
|
const mask = maskOf(hostId, parts), core = maskOf(hostId, parts);
|