X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp.hpp;h=c5a5098578c306a951c79d0157af6b7ce15c648b;hb=49c81f76b80e0de99ca57db49510eb5e3385e1d1;hp=5148a7a411a30669425b376ee9b73394802510c8;hpb=0a13b3fe342db83eef2c0ddc991a44452df77aa3;p=blank.git diff --git a/src/app.hpp b/src/app.hpp index 5148a7a..c5a5098 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -6,6 +6,7 @@ #include "camera.hpp" #include "init.hpp" +#include "model.hpp" #include "shader.hpp" @@ -24,23 +25,32 @@ public: void Loop(int dt); void HandleEvents(); + void Update(int dt); void Render(); private: InitSDL init_sdl; + InitIMG init_img; InitGL init_gl; Window window; GLContext ctx; InitGLEW init_glew; Program program; + float move_velocity; + float pitch_sensitivity; + float yaw_sensitivity; + Camera cam; + Model model; GLuint vtx_buf; GLuint mvp_handle; bool running; + bool front, back, left, right, up, down; + }; }