frenchtoast747 / webgl-obj-loader

A simple OBJ model loader to help facilitate the learning of WebGL.
http://frenchtoast747.github.io/webgl-obj-loader/
MIT License
281 stars 59 forks source link

Add custom attribute support to Mesh.makeBufferData/Layout #41

Open qtip opened 6 years ago

qtip commented 6 years ago

Right now Mesh.makeBufferdata doesn't handle Attributes that it's unaware of. We should make it easy to allow custom Attribute objects that perhaps have a user callback to stuff data into the buffer.