1 #ifndef BLANK_CAMERA_HPP_
2 #define BLANK_CAMERA_HPP_
6 #include "controller.hpp"
12 : public FPSController {
18 Camera(const Camera &) = delete;
19 Camera &operator =(const Camera &) = delete;
21 glm::mat4 MakeMVP(const glm::mat4 &m) const { return vp * m; }
23 void Viewport(int width, int height);
24 void Viewport(int x, int y, int width, int height);
28 void Aspect(float w, float h);
29 void Clip(float near, float far);
34 void UpdateProjection();