Split Mesh:attachAttribute(name, nil) out into Mesh:detachAttribute. Fix attachAttribute.

Don’t let me push commits on a friday night…

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2016-11-26 01:50:36 -04:00
parent 100404c917
commit cbba8c40a6
4 changed files with 40 additions and 26 deletions
+1
View File
@@ -139,6 +139,7 @@ public:
* will be used when drawing this Mesh.
**/
void attachAttribute(const std::string &name, Mesh *mesh, const std::string &attachname);
bool detachAttribute(const std::string &name);
void *mapVertexData();
void unmapVertexData(size_t modifiedoffset = 0, size_t modifiedsize = -1);