summaryrefslogtreecommitdiff
path: root/inc/geoshader.hpp
diff options
context:
space:
mode:
authormajortom6 <tombarrett@siu.edu>2017-02-19 09:17:35 -0600
committerTom Barrett <tombarrett@siu.edu>2017-03-07 13:23:41 -0600
commit5c46e0f0a924989201c6784b0f956bc442f14a7e (patch)
tree33b5889b872023bd7d414f7baec45706330813b3 /inc/geoshader.hpp
parent2cc21176467d4501adb7bfb9ee03eb9a2a7d14f2 (diff)
-removed glm library, its in the debian repos
-made opengl and sdl folders in includes, moved various *hpps to them
Diffstat (limited to 'inc/geoshader.hpp')
-rw-r--r--inc/geoshader.hpp29
1 files changed, 0 insertions, 29 deletions
diff --git a/inc/geoshader.hpp b/inc/geoshader.hpp
deleted file mode 100644
index 65e2fc3..0000000
--- a/inc/geoshader.hpp
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef geoshader_h
-#define geoshader_h
-
-#include <string>
-#include <GL/glew.h>
-
-#include "constants.hpp"
-#include "graphicsobjects.hpp"
-
-class GeoShader
-{
- public:
- GeoShader(const std::string& fileName);
-
- void Bind();
- void Update(const Transform& transform, const Camera& camera);
- virtual ~GeoShader();
- GLuint m_program;
-
- private:
- std::string LoadShader(const std::string& fileName);
- void CheckShaderError(GLuint shader, GLuint flag, bool isProgram, const std::string& errorMessage);
- GLuint CreateShader(const std::string& text, GLenum shaderType);
-
- GLuint m_shaders[NUM_SHADERS];
- GLuint m_uniforms[NUM_UNIFORMS];
-};
-
-#endif