#include <glm/glm.hpp>
#include "controller.hpp"
+#include "geometry.hpp"
namespace blank {
public:
Camera();
- ~Camera();
Camera(const Camera &) = delete;
Camera &operator =(const Camera &) = delete;
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; }
+
void Update(int dt);
private:
float far_clip;
glm::mat4 projection;
+ glm::mat4 view;
glm::mat4 vp;
};