Skip to content

Commit

Permalink
Merge pull request #723 from vtravieso/fix-bounds-array-size
Browse files Browse the repository at this point in the history
Fixes the triangle bounds array size
  • Loading branch information
gkjohnson authored Oct 1, 2024
2 parents d613dc0 + e5d8d76 commit a64f066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/build/computeBoundsUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function computeTriangleBounds( geo, target = null, offset = null, count
let triangleBounds;
if ( target === null ) {

triangleBounds = new Float32Array( triCount * 6 * 4 );
triangleBounds = new Float32Array( triCount * 6 );
offset = 0;
count = triCount;

Expand Down

0 comments on commit a64f066

Please sign in to comment.