Using fixed update and adding optimization flags

This commit is contained in:
Zoe Roux
2021-06-17 16:58:39 +02:00
parent 03f3d25d00
commit 9826375c62
6 changed files with 14 additions and 5 deletions
@@ -29,7 +29,7 @@ namespace BBM
return this->_modelAnimation.at(this->_currentAnimIndex).getFrameCounter();
}
RAY::ModelAnimation AnimationsComponent::getCurrentModelAnim()
RAY::ModelAnimation &AnimationsComponent::getCurrentModelAnim()
{
return this->_modelAnimation[this->_currentAnimIndex];
}
@@ -34,7 +34,7 @@ namespace BBM
size_t getCurrentAnimFrameCounter() const;
//! @brief get the current
RAY::ModelAnimation getCurrentModelAnim();
RAY::ModelAnimation &getCurrentModelAnim();
//! @brief set the anim frame counter
void setCurrentAnimFrameCounter(size_t animFrameCounter);