KlassischeKeplerKriege/game/renderer.hpp
2016-09-27 20:56:17 +02:00

26 lines
410 B
C++

#pragma once
#include <math.h>
#include <epoxy/gl.h>
#include <epoxy/glx.h>
#include "glclasses.hpp"
namespace endofthejedi {
class Renderer {
private:
VBO m_vbo;
VAO m_vao;
Shader m_shader;
protected:
public:
Renderer();
~Renderer();
void render();
void drawCircle(float x, float y, float radius, float r, float g, float b,
int numSides = 12);
};
}