@woosh/meep-engine 2.92.8 → 2.92.9

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/build/meep.cjs CHANGED
@@ -65753,7 +65753,7 @@ function bvh32_from_indexed_geometry(bvh, vertices, indices) {
65753
65753
  */
65754
65754
  function bvh32_from_unindexed_geometry(bvh, vertices) {
65755
65755
 
65756
- const triangle_count = indices.length / 3;
65756
+ const triangle_count = vertices.length / 3;
65757
65757
 
65758
65758
  bvh.setLeafCount(triangle_count);
65759
65759
  bvh.initialize_structure();