@woosh/meep-engine 2.119.114 → 2.119.115
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
|
@@ -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 << 1) &
|
|
47
|
+
const offset = (i << 1) & 2; // cycle between 0 and 2
|
|
48
48
|
|
|
49
49
|
const swap_count = ebvh_nodes_sort_sah_local4(
|
|
50
50
|
bvh,
|