1 #ifndef BLANK_CAMERA_HPP_
2 #define BLANK_CAMERA_HPP_
6 #include "controller.hpp"
7 #include "geometry.hpp"
13 : public FPSController {
18 Camera(const Camera &) = delete;
19 Camera &operator =(const Camera &) = delete;
21 void Viewport(int width, int height);
22 void Viewport(int x, int y, int width, int height);
26 void Aspect(float w, float h);
27 void Clip(float near, float far);
31 const glm::mat4 &Projection() { return projection; }
32 const glm::mat4 &View() { return view; }
37 void UpdateProjection();