]> git.localhorst.tv Git - blank.git/blobdiff - src/shader.hpp
add building notes
[blank.git] / src / shader.hpp
index 195376c0ce093ab5bdf13ebe601a688febff4d63..ea5b84474223fab1da9bb8fd18ad1c7e859643c9 100644 (file)
@@ -75,6 +75,10 @@ public:
        void SetVP(const glm::mat4 &v, const glm::mat4 &p);
        void SetMVP(const glm::mat4 &m, const glm::mat4 &v, const glm::mat4 &p);
 
+       const glm::mat4 &Projection() const { return projection; }
+       const glm::mat4 &View() const { return view; }
+       const glm::mat4 &GetVP() const { return vp; }
+
 private:
        Program program;