mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
Animation controller uses now the singleton pattern
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user