-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Hey, just went through your code, because I wanted to recreate the line width via expansion and I noticed that the index array your are generating in gl-line-2d is too big.
You create it via
indices = createIndices(path.length);(https://github.com/mattdesl/webgl-lines/blob/master/expanded/gl-line-2d.js#L50)
But path.length - 1 should probably be enough.
Thanks for the great article and the code shared! 👍
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels