bruh a little

This commit is contained in:
Ben
2019-10-05 20:39:37 +01:00
parent a112e8e4f1
commit 9451e02edd
10 changed files with 15208 additions and 12 deletions

18
src/renderer/renderer.hpp Normal file
View File

@@ -0,0 +1,18 @@
#ifndef MINECRAFT_RENDERER_RENDERER_H_
#define MINECRAFT_RENDERER_RENDERER_H_
#include "../common.hpp"
#include "../world/world.hpp"
#include "camera.hpp"
// Does GL render passes then returns to the game loop
class Renderer {
public:
Renderer();
void Render(std::shared_ptr<World> world, std::shared_ptr<Camera> camera);
};
#endif