Fix build

This commit is contained in:
Alex Szpakowski
2020-02-28 23:12:22 -04:00
parent 7fbb68e90e
commit bbdadcba8a
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -335,6 +335,11 @@ bool Mesh::detachAttribute(const std::string &name)
return true;
}
const std::vector<Mesh::BufferAttribute> &Mesh::getAttachedAttributes() const
{
return attachedAttributes;
}
void *Mesh::mapVertexData()
{
return vertexBuffer.get() != nullptr ? vertexBuffer->map() : nullptr;