]> git.localhorst.tv Git - blobs.git/blobdiff - src/graphics/Program.hpp
randomize creature properties a bit
[blobs.git] / src / graphics / Program.hpp
index 7e0e93b8fab4700f5bb97e07243922555f24a2f3..d06897231247b1f71bd9d64fe4b460772a3df248 100644 (file)
@@ -1,10 +1,11 @@
 #ifndef BLOBS_GRAPHICS_PROGRAM_HPP_
 #define BLOBS_GRAPHICS_PROGRAM_HPP_
 
-#include "glm.hpp"
+#include "../math/glm.hpp"
 
 #include <iosfwd>
 #include <list>
+#include <string>
 #include <GL/glew.h>
 
 
@@ -29,7 +30,9 @@ public:
        void Log(std::ostream &) const;
 
        GLint AttributeLocation(const GLchar *name) const noexcept;
+       GLint AttributeLocation(const std::string &name) const noexcept;
        GLint UniformLocation(const GLchar *name) const noexcept;
+       GLint UniformLocation(const std::string &name) const noexcept;
 
        void Uniform(GLint, GLint) noexcept;
        void Uniform(GLint, float) noexcept;