Fixes issue where rope breaks if it changes size
- Recreate Types arrays in rope if the size changes

- Fixed a little rope dirty issue too where it was being set to false
rather than incremented.

- Pass the data to buffer when calling upload as this will resize the
buffers automatically
1 parent f7fa2ed commit c5ed61f4cb7d83524fb5688c805f78c5c1c34d48
@Mat Groves Mat Groves authored on 30 Oct 2016
Showing 2 changed files
View
src/mesh/Rope.js
View
src/mesh/webgl/MeshRenderer.js