@forgeax/engine-scene 0.1.34 → 0.1.35

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.
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=sparse-global-observation.contract.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sparse-global-observation.contract.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/sparse-global-observation.contract.test.ts"],"names":[],"mappings":""}
package/dist/index.mjs CHANGED
@@ -2748,11 +2748,11 @@ function propagateTransforms(world) {
2748
2748
  const pairs = validateTransformPairs(world, scratch);
2749
2749
  if (!pairs.ok) return pairs;
2750
2750
  let globalEdited = false;
2751
- for (const _row of scratch.dirtyGlobals ?? []) globalEdited = true;
2751
+ for (const _span of scratch.dirtyGlobals?.spans().unwrap() ?? []) globalEdited = true;
2752
2752
  const flat = propagateFlat(world, scratch);
2753
2753
  if (!flat.ok) return flat;
2754
2754
  const hierarchy = propagateHierarchy(world, scratch, globalEdited);
2755
- for (const _row of scratch.dirtyGlobals ?? []) {
2755
+ for (const _span of scratch.dirtyGlobals?.spans().unwrap() ?? []) {
2756
2756
  }
2757
2757
  return hierarchy;
2758
2758
  }