Small fix

This commit is contained in:
itqop 2024-05-15 13:35:20 +03:00
parent 9019f9c299
commit 07cc872b05
1 changed files with 23 additions and 7 deletions

View File

@ -2,7 +2,12 @@
#include "gl2d/gl2d.h" #include "gl2d/gl2d.h"
#include <glad/glad.h> #include <glad/glad.h>
#include "shader.h"
#include "camera.h"
#include "glm/vec2.hpp" #include "glm/vec2.hpp"
#include <texture.h>
#include "renderer.h"
#include "skyBox.h"
class GameInput class GameInput
@ -138,6 +143,7 @@ private:
}; };
class Game class Game
{ {
public: public:
@ -160,5 +166,15 @@ private:
gl2d::Font font; gl2d::Font font;
int screenW, screenH; int screenW, screenH;
Camera *camera = 0;
bool isCreativeCamera = 0;
ChunksRenderer renderer;
ChunkManager chunkManager;
gl2d::Texture arrowTexture;
SkyBox skyBox;
}; };