From e5d8d76dc3d09d205b8e7b3e35227fe0653fdcd4 Mon Sep 17 00:00:00 2001 From: Victor Travieso Date: Tue, 1 Oct 2024 12:23:30 +0100 Subject: [PATCH] The triangle bounds array was x4 too big --- src/core/build/computeBoundsUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/build/computeBoundsUtils.js b/src/core/build/computeBoundsUtils.js index ae5ad25f5..8c364b7a5 100644 --- a/src/core/build/computeBoundsUtils.js +++ b/src/core/build/computeBoundsUtils.js @@ -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;