@woosh/meep-engine 2.119.91 → 2.119.92

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.91",
8
+ "version": "2.119.92",
9
9
  "main": "build/meep.module.js",
10
10
  "module": "build/meep.module.js",
11
11
  "exports": {
@@ -44,7 +44,7 @@ export function ebvh_build_hierarchy(
44
44
 
45
45
  // sort intermediate nodes using small locality and SAH metric
46
46
 
47
- const offset = i & 3;
47
+ const offset = (i << 1) & 3; // cycle between 0 and 2
48
48
 
49
49
  const swap_count = ebvh_nodes_sort_sah_local4(
50
50
  bvh,