@adatechnology/game-items-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.
@@ -46649,7 +46649,7 @@ uniform mat4 uNodes[${nodes.length}]; attribute float aNodeIndex; attribute vec3
46649
46649
  }
46650
46650
  var residentialTower = residentialTowerTemplate();
46651
46651
 
46652
- // ../game-floorplan-three/dist/chunk-ZVCG4IGR.js
46652
+ // ../game-floorplan-three/dist/chunk-W4VG2X7N.js
46653
46653
  var __defProp3 = Object.defineProperty;
46654
46654
  var __defNormalProp = (obj, key2, value) => key2 in obj ? __defProp3(obj, key2, { enumerable: true, configurable: true, writable: true, value }) : obj[key2] = value;
46655
46655
  var __publicField = (obj, key2, value) => __defNormalProp(obj, typeof key2 !== "symbol" ? key2 + "" : key2, value);
@@ -59045,7 +59045,11 @@ uniform mat4 uNodes[${nodes.length}]; attribute float aNodeIndex; attribute vec3
59045
59045
  if (LOOSE.has(part.material) || part.shape.kind !== "box" || part.rotation) continue;
59046
59046
  const [x, y, z] = part.shape.size;
59047
59047
  if (y >= x && y >= z) {
59048
- if (z < x && x >= 0.6 * width) continue;
59048
+ if (z < x && x >= 0.6 * width) {
59049
+ part.anchored = false;
59050
+ part.structure = { role: "beam", maxSpan: SHELF_SPAN * x };
59051
+ continue;
59052
+ }
59049
59053
  part.structure = { role: "column" };
59050
59054
  } else if (y <= x && y <= z) part.structure = { role: "beam", maxSpan: SHELF_SPAN * Math.max(x, z) };
59051
59055
  }