From fb2b8e9a547ce25be556f34009c15fb92e226de0 Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Mon, 28 Nov 2022 17:56:56 +0100 Subject: [PATCH] Allow more vertices --- remote/remote.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote/remote.html b/remote/remote.html index 310e2d3..6475677 100644 --- a/remote/remote.html +++ b/remote/remote.html @@ -189,7 +189,7 @@ // Since the indexes are 16 bit, we cannot have more than 65536 vertices // at the same time. - const MAX_VERTICES = 65535; + const MAX_VERTICES = 4*65535; const indexArray = new Uint16Array ( MAX_VERTICES ); // 20 bytes per vertex. We cannot have more veritices than the index array