X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FSunSurface.hpp;h=55c42dd966abcb293508a602925846c4e6c7197f;hb=refs%2Fheads%2Fmaster;hp=5ce91b12cdf11f123605c0582842d2becad4620e;hpb=c5556cf5f6813887a3503433c021ccd2e7fae865;p=blobs.git diff --git a/src/graphics/SunSurface.hpp b/src/graphics/SunSurface.hpp index 5ce91b1..55c42dd 100644 --- a/src/graphics/SunSurface.hpp +++ b/src/graphics/SunSurface.hpp @@ -4,10 +4,6 @@ #include "Program.hpp" #include "SimpleVAO.hpp" -#include "glm.hpp" - -#include - namespace blobs { namespace graphics { @@ -29,6 +25,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 SetLight(const glm::vec3 &color, float strength) noexcept; @@ -44,7 +43,7 @@ private: struct Attributes { glm::vec3 position; }; - SimpleVAO vao; + SimpleVAO vao; Program prog; glm::mat4 m;