Animation controller uses now the singleton pattern

This commit is contained in:
devZoGok
2022-03-01 20:51:40 +02:00
parent 78f43e11bd
commit f64a3e13df
19 changed files with 46 additions and 44 deletions
+1 -3
View File
@@ -11,14 +11,12 @@ using namespace std;
using namespace glm;
namespace vb01{
Skeleton::Skeleton(AnimationController *controller, string name){
Skeleton::Skeleton(string name){
this->name = name;
this->controller = controller;
}
void Skeleton::update(){
updateIk();
controller->update();
}
void Skeleton::updateIk(){