You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
(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! 👍
The text was updated successfully, but these errors were encountered: