animation

This commit is contained in:
arthur.jamet
2021-05-27 10:37:44 +02:00
parent cacc8d2347
commit 7f1e8ab398
9 changed files with 10565 additions and 31424 deletions

View File

@@ -11,6 +11,7 @@ RAY::ModelAnimations::ModelAnimations(const std::string &filePath):
_animationsPtr(LoadModelAnimations(filePath.c_str(), &this->_animationCount))
{
::ModelAnimation *ptr = this->_animationsPtr.get();
printf("%d\n", this->_animationCount);
for (int i = 0; i < this->_animationCount; i++)
this->_animations.push_back(RAY::ModelAnimation(ptr[i]));
}