Skip to content

Commit

Permalink
Allow more vertices
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf committed Nov 28, 2022
1 parent a73c0e3 commit fb2b8e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remote/remote.html
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fb2b8e9

Please sign in to comment.