]> git.localhorst.tv Git - blank.git/blobdiff - src/camera.hpp
basic aiming
[blank.git] / src / camera.hpp
index 7cdd5e527b1ca5ecc2e0c795dd5679907dd0d209..419922a39f1c3ee32578b847d5c21c7f31a3a434 100644 (file)
@@ -4,6 +4,7 @@
 #include <glm/glm.hpp>
 
 #include "controller.hpp"
+#include "geometry.hpp"
 
 
 namespace blank {
@@ -28,6 +29,8 @@ public:
        void Aspect(float w, float h);
        void Clip(float near, float far);
 
+       Ray Aim() const;
+
        const glm::mat4 &Projection() { return projection; }
        const glm::mat4 &View() { return view; }