#include <glm/gtc/matrix_transform.hpp>
#include "camera.hpp"
+#include "controller.hpp"
#include "init.hpp"
-#include "model.hpp"
#include "shader.hpp"
void Loop(int dt);
void HandleEvents();
+ void Update(int dt);
void Render();
private:
InitGLEW init_glew;
Program program;
+ float move_velocity;
float pitch_sensitivity;
float yaw_sensitivity;
Camera cam;
- Model model;
+ FPSController model;
GLuint vtx_buf;
GLuint mvp_handle;
bool running;
+ bool front, back, left, right, up, down;
+
};
}