X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp.hpp;h=e5cddcedadb7a722de3cf1c075cc9ce31f6408be;hb=ac8765b510707d77cac9620778f40ddf3a4ad2a2;hp=d949567347f336e978fd62d7f15a1871140b49a1;hpb=81531352f0af10ef357e82595098fa596795f000;p=blank.git diff --git a/src/app.hpp b/src/app.hpp index d949567..e5cddce 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -8,6 +8,7 @@ #include "controller.hpp" #include "init.hpp" #include "shader.hpp" +#include "world.hpp" namespace blank { @@ -41,11 +42,22 @@ private: float pitch_sensitivity; float yaw_sensitivity; + BlockTypeRegistry blockType; + Camera cam; - FPSController model; + Chunk chunk; + + glm::vec3 light_position; + glm::vec3 light_color; + float light_power; - GLuint vtx_buf; + GLuint m_handle; + GLuint v_handle; + GLuint mv_handle; GLuint mvp_handle; + GLuint light_position_handle; + GLuint light_color_handle; + GLuint light_power_handle; bool running;