Open
Description
Hi,
Thanks for twgl.js nice library!
I was playing with it and realised that updating the buffer data using twgl.setAttribInfoBufferFromArray
did not automatically update the numElements value
As I started with a zero element array in init, it never display anything until I updated the bufferInfo.numElements
value
Is that intended ?
Is there any elegant way to update it while calling twgl.setAttribInfoBufferFromArray
For better context, see my repoduction repo with the commit fixing my issue : bug-reproduction/twgl-test@d2f4d36
Metadata
Metadata
Assignees
Labels
No labels