From 5a71323dc005e8c29753d0f0ba7ed3558f9f2000 Mon Sep 17 00:00:00 2001 From: "Raoul v. R" Date: Mon, 5 Jun 2023 01:07:13 +0200 Subject: [PATCH] Update OctreeHelper.ts --- src/core/OctreeHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/OctreeHelper.ts b/src/core/OctreeHelper.ts index 3254c92..940808e 100644 --- a/src/core/OctreeHelper.ts +++ b/src/core/OctreeHelper.ts @@ -58,7 +58,7 @@ export class OctreeHelper extends Group { const positions = new Float32Array(vertexCount * 3); // Continue where the previous run left off. - for(let c = 0, d = 0, result = iterator.next(); result.done !== undefined && !result.done && i < l;) { + for(let c = 0, d = 0, result = iterator.next(); result.done !== true && i < l;) { const octant = result.value; const min = octant.min;