Fixat lite classer osv

This commit is contained in:
Tobias Dahl
2014-03-03 19:47:12 +01:00
parent 68f4be5822
commit c60b490d01
23 changed files with 172 additions and 25 deletions
+37
View File
@@ -0,0 +1,37 @@
#include <string>
#include <fstream>
#include <iostream>
#include <sstream>
#include <vector>
#define _CRT_SECURE_NO_WARNINGS
#include <GL/glew.h>
#define GLFW_INCLUDE_GLU
#include <GLFW/glfw3.h>
#include <glext.h>
#define GLM_FORCE_RADIANS
#include <glm/glm.hpp>
#include <glm/gtc/constants.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "glerror.h"
class Renderer
{
public:
GLuint shaderProgram;
GLuint VAO;
Renderer();
void Draw();
void DrawText();
void AddObjectToDraw();
void AddTextToDraw();
GLuint CompileShader(GLenum, std::string);
};