animation component should theoretically work

This commit is contained in:
Clément Le Bihan
2021-06-02 15:08:46 +02:00
parent b4d783d6c2
commit d986a24c47
4 changed files with 44 additions and 20 deletions

View File

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