From c9371929d98ce3f61651104edcfc8804672fd525 Mon Sep 17 00:00:00 2001 From: Marc Emmanuel Date: Mon, 19 Jan 2026 15:18:27 +0100 Subject: [PATCH] Update src/utils/graphUtils.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/utils/graphUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/graphUtils.ts b/src/utils/graphUtils.ts index 198a1e99..875445fb 100644 --- a/src/utils/graphUtils.ts +++ b/src/utils/graphUtils.ts @@ -139,7 +139,7 @@ export const calculateVoronoi = (points: Point[], boundary: Point[]): {cells: Ce const voronoi = new Voronoi(delaunay, allPoints, points.length); const cells = voronoi.cells; - cells.i = createTypedArray({maxValue: points.length, length: points.length}).map((_, i) => i) as Uint32Array; // array of indexes + cells.i = createTypedArray({maxValue: points.length, length: points.length}).map((_, i) => i) as Uint32Array; // array of indexes const vertices = voronoi.vertices; TIME && console.timeEnd("calculateVoronoi");