summaryrefslogtreecommitdiffhomepage
path: root/src/shader.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shader.hpp')
-rw-r--r--src/shader.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/shader.hpp b/src/shader.hpp
index 7e4f25d..2434a21 100644
--- a/src/shader.hpp
+++ b/src/shader.hpp
@@ -4,6 +4,10 @@
#include "glad/glad.h"
+#include <glm/glm.hpp>
+#include <glm/gtc/matrix_transform.hpp>
+#include <glm/gtc/type_ptr.hpp>
+
class Shader
{
public:
@@ -26,4 +30,5 @@ class Shader
float value2,
float value3
) const;
+ void setMatrix4fv(const std::string &name, glm::mat4 matrix);
};