first pr fixes from reviews

This commit is contained in:
Clément Le Bihan
2021-06-02 18:14:44 +02:00
parent e45942d532
commit 3790b2a8cd
6 changed files with 20 additions and 16 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(RAY::ModelAnimation(ptr[i]));
this->_animations.emplace_back(ptr[i]);
}
RAY::ModelAnimation &RAY::ModelAnimations::operator[](int index)