]> git.localhorst.tv Git - blank.git/blobdiff - src/app.hpp
mouse controlled camera pitch/yaw
[blank.git] / src / app.hpp
index 5148a7a411a30669425b376ee9b73394802510c8..8bafb2368d4f685c7b60f629e5bcd39e6b883fca 100644 (file)
@@ -6,6 +6,7 @@
 
 #include "camera.hpp"
 #include "init.hpp"
+#include "model.hpp"
 #include "shader.hpp"
 
 
@@ -28,13 +29,18 @@ public:
 
 private:
        InitSDL init_sdl;
+       InitIMG init_img;
        InitGL init_gl;
        Window window;
        GLContext ctx;
        InitGLEW init_glew;
        Program program;
 
+       float pitch_sensitivity;
+       float yaw_sensitivity;
+
        Camera cam;
+       Model model;
 
        GLuint vtx_buf;
        GLuint mvp_handle;