Skip to content

Commit fb2b8e9

Browse files
committed
Allow more vertices
1 parent a73c0e3 commit fb2b8e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

remote/remote.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189

190190
// Since the indexes are 16 bit, we cannot have more than 65536 vertices
191191
// at the same time.
192-
const MAX_VERTICES = 65535;
192+
const MAX_VERTICES = 4*65535;
193193

194194
const indexArray = new Uint16Array ( MAX_VERTICES );
195195
// 20 bytes per vertex. We cannot have more veritices than the index array

0 commit comments

Comments
 (0)