Trying things.

This commit is contained in:
Zoe Roux
2021-06-14 16:00:41 +02:00
parent 06a6eb2ed7
commit 9b385349dc
9 changed files with 57 additions and 24 deletions

View File

@@ -16,7 +16,7 @@ RAY::ModelAnimations::ModelAnimations(const std::string &filePath):
::ModelAnimation *ptr = this->_animationsPtr.get();
for (int i = 0; i < this->_animationCount; i++)
this->_animations.emplace_back(ptr[i]);
this->_animations.emplace_back(ptr + i);
}
RAY::ModelAnimation &RAY::ModelAnimations::operator[](int index)