@woosh/meep-engine 2.119.122 → 2.119.123

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "description": "Fully featured ECS game engine written in JavaScript",
6
6
  "type": "module",
7
7
  "author": "Alexander Goldring",
8
- "version": "2.119.122",
8
+ "version": "2.119.123",
9
9
  "main": "build/meep.module.js",
10
10
  "module": "build/meep.module.js",
11
11
  "exports": {
@@ -59,7 +59,7 @@ export function ebvh_build_hierarchy(
59
59
  let added_nodes = 0;
60
60
  let cursor = 0;
61
61
 
62
- while (cursor + 1 < sah_optimization_cycle_count) {
62
+ while (cursor + 1 < unprocessed_node_count) {
63
63
  const child_2_index = cursor++;
64
64
  const child_1_index = cursor++;
65
65
 
@@ -1 +1 @@
1
- {"version":3,"file":"ebvh_nodes_sort_sah_local4.d.ts","sourceRoot":"","sources":["../../../../../src/core/bvh2/bvh3/ebvh_nodes_sort_sah_local4.js"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,gDANW,GAAG,SACH,MAAM,EAAE,GAAC,WAAW,UACpB,MAAM,YACN,MAAM,SACN,MAAM,UAoFhB"}
1
+ {"version":3,"file":"ebvh_nodes_sort_sah_local4.d.ts","sourceRoot":"","sources":["../../../../../src/core/bvh2/bvh3/ebvh_nodes_sort_sah_local4.js"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,gDANW,GAAG,SACH,MAAM,EAAE,GAAC,WAAW,UACpB,MAAM,YACN,MAAM,SACN,MAAM,UAkFhB"}
@@ -63,8 +63,6 @@ export function ebvh_nodes_sort_sah_local4(
63
63
  const cost1 = cost_ac + cost_bd;
64
64
  const cost2 = cost_ad + cost_cb;
65
65
 
66
- let post_swap = false;
67
-
68
66
  if (cost0 <= cost1 && cost0 <= cost2) {
69
67
  // no change
70
68