]> git.localhorst.tv Git - blank.git/blobdiff - src/app.hpp
add SDL2_image library
[blank.git] / src / app.hpp
index 9ec5f1f9b7de81c710aa74c9ce60247a995f86ca..e525ec632e6459a8612539b6807cfad32549b89c 100644 (file)
@@ -4,6 +4,7 @@
 #include <glm/glm.hpp>
 #include <glm/gtc/matrix_transform.hpp>
 
+#include "camera.hpp"
 #include "init.hpp"
 #include "shader.hpp"
 
@@ -27,14 +28,16 @@ public:
 
 private:
        InitSDL init_sdl;
+       InitIMG init_img;
        InitGL init_gl;
        Window window;
        GLContext ctx;
        InitGLEW init_glew;
        Program program;
 
+       Camera cam;
+
        GLuint vtx_buf;
-       glm::mat4 mvp;
        GLuint mvp_handle;
 
        bool running;