diff --git a/src/shaders.hpp b/src/shaders.hpp deleted file mode 100644 index 344098f..0000000 --- a/src/shaders.hpp +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef SHADERS_H -#define SHADERS_H -#include -#include -#include - -namespace Shaders { - std::string loadSourceFromFile(const char* file); - - unsigned int compile(GLenum shadertype, const char* shaderSource); - unsigned int compileFromFile(GLenum shadertype, const char* file); - unsigned int createProgram(std::vector shaders); - - class Shader { - public: - unsigned int id; - Shader(const char* vertPath, const char* fragPath); - - void use(); - void setBool(const std::string &name, bool val) const; - void setInt(const std::string &name, int val) const; - void setFloat(const std::string &name, float val) const; - }; -} -#endif