]> git.localhorst.tv Git - blobs.git/blobdiff - src/graphics/CreatureSkin.hpp
track creature with camera
[blobs.git] / src / graphics / CreatureSkin.hpp
index 78cf658d3c48e8b3e4b7885bddc1732ffcae9292..c24a746062173b9ec5351da349e3086acede7a2f 100644 (file)
@@ -3,8 +3,6 @@
 
 #include "Program.hpp"
 
-#include "glm.hpp"
-
 
 namespace blobs {
 namespace graphics {
@@ -29,6 +27,9 @@ public:
 public:
        void Activate() noexcept;
 
+       void SetM(const glm::mat4 &m) noexcept;
+       void SetV(const glm::mat4 &v) noexcept;
+       void SetVP(const glm::mat4 &v, const glm::mat4 &p) noexcept;
        void SetMVP(const glm::mat4 &m, const glm::mat4 &v, const glm::mat4 &p) noexcept;
        void SetTexture(ArrayTexture &) noexcept;
        void SetLight(int n, const glm::vec3 &pos, const glm::vec3 &color, float strength) noexcept;