12 #include "glslprogram.hpp" 14 #include <glm/glm.hpp> 15 #include <glm/gtc/matrix_transform.hpp> 21 bool matrix_needs_update_ =
true;
24 glm::mat4 camera_matrix_;
25 glm::mat4 ortho_matrix_;
28 Camera2D(
int screen_width = 1280,
int screen_height = 720);
31 void update(GlslProgram& program);
33 void move(
const glm::vec2& direction);
Definition: camera2d.hpp:17