@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 +1 -1
- package/build/meep.min.js +1 -1
- package/build/meep.module.js +1 -1
- package/package.json +1 -1
- package/src/engine/animation/curve/prototypeGLTF.js +14 -14
- package/src/engine/graphics/geometry/bvh/buffered/bvh32_from_unindexed_geometry.js +1 -1
- package/src/engine/graphics/geometry/bvh/buffered/bvh32_from_unindexed_geometry.spec.d.ts +2 -0
- package/src/engine/graphics/geometry/bvh/buffered/bvh32_from_unindexed_geometry.spec.d.ts.map +1 -0
- package/src/engine/graphics/geometry/bvh/buffered/bvh32_from_unindexed_geometry.spec.js +16 -0
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 =
|
|
65756
|
+
const triangle_count = vertices.length / 3;
|
|
65757
65757
|
|
|
65758
65758
|
bvh.setLeafCount(triangle_count);
|
|
65759
65759
|
bvh.initialize_structure();
|