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
+3
View File
@@ -5,6 +5,7 @@
#include "box.h"
#include "quad.h"
#include "lineRenderer.h"
#include "animationController.h"
#include "glad.h"
#include <glfw3.h>
@@ -150,6 +151,8 @@ namespace vb01{
glCullFace(GL_BACK);
}
AnimationController::getSingleton()->update();
rootNode->update();
LineRenderer::getSingleton()->drawLines();