Commit 140ce77f by Philipp Adolf

Make getMeshEntry return a pointer

parent c7e5ff41
......@@ -181,8 +181,8 @@ Mesh::Node Mesh::getRootNode(){
return rootNode;
}
Mesh::MeshEntry Mesh::getMeshEntry(int index){
return entries[index];
Mesh::MeshEntry *Mesh::getMeshEntry(int index){
return &entries[index];
}
QVector<unsigned int> Mesh::MeshEntry::getIndexBuffer(){
......
......@@ -88,7 +88,7 @@ public:
Mesh::Node getRootNode();
Mesh::MeshEntry getMeshEntry(int index);
Mesh::MeshEntry *getMeshEntry(int index);
private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment