You should use setVerticesData instead of updateVerticesData, which only works if the buffer has been created as updatable in the first place.
2 Likes
You should use setVerticesData instead of updateVerticesData, which only works if the buffer has been created as updatable in the first place.