Skip to content

Commit

Permalink
The triangle bounds array was x4 too big
Browse files Browse the repository at this point in the history
  • Loading branch information
vtravieso committed Oct 1, 2024
1 parent d613dc0 commit e5d8d76
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 e5d8d76

Please sign in to comment.