renderer structure

This commit is contained in:
Ben
2021-02-17 03:47:08 +00:00
parent fb75f6b8d6
commit 9f9daa3a6e
9 changed files with 207 additions and 2 deletions

View File

@@ -13,7 +13,11 @@
#include "display.hpp"
#include "settings.hpp"
#include "Rendering/rendermaster.hpp"
#include "Rendering/texture.hpp"
#include "Rendering/camera.hpp"
#include "Rendering/mesh.hpp"
#define __DEBUG
@@ -39,6 +43,9 @@ void Loop( Display* display )
{
SDL_Event e;
while ( display->IsWindowOpen )
{
display->PrepareFrame();
@@ -49,6 +56,9 @@ void Loop( Display* display )
// rendering here
display->NextFrame();
}