]> git.localhorst.tv Git - blank.git/blobdiff - src/graphics/Camera.hpp
glm backwards compatibility
[blank.git] / src / graphics / Camera.hpp
index 924b5b4bd320396ab28dbdb2dd3c710c28cdf91c..d1fa508da3136a5fa8a68a6f7f5f13a3a218c997 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef BLANK_GRAPHICS_CAMERA_HPP_
 #define BLANK_GRAPHICS_CAMERA_HPP_
 
-#include <glm/glm.hpp>
+#include "glm.hpp"
 
 
 namespace blank {
@@ -19,7 +19,7 @@ public:
 
        const glm::mat4 &Projection() const noexcept { return projection; }
        const glm::mat4 &View() const noexcept { return view; }
-       void View(const glm::mat4 &v) noexcept { view = v; }
+       void View(const glm::mat4 &v) noexcept;
 
 private:
        void UpdateProjection() noexcept;