Added Rendrerer class and camera optimization

This commit is contained in:
Julian Nießner
2018-05-08 11:43:47 +02:00
parent d9eb21a3e8
commit 1a6966f03a
9 changed files with 62 additions and 18 deletions

14
src/Renderer.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef RENDERER_H
#define RENDERER_H
#include "Mesh.h"
#include "Shader.h"
class Renderer {
public:
Renderer();
void draw(const Mesh& mesh, Shader& shader);
void clear() const;
};
#endif