diff --git a/ghostland.cpp b/ghostland.cpp index 76044d5..01cd03a 100644 --- a/ghostland.cpp +++ b/ghostland.cpp @@ -1,9 +1,9 @@ #include #include -#include +#include "glad/glad.h" #include -#include +#include "stb_image.h" #include #include @@ -343,7 +343,7 @@ int main(int argc, char *argv[]) ghosts.push_back(new Ghost(xmin_wall, xmax_wall, zmin_wall, zmax_wall)); } - player->mouse_callback(window, WINDOWWIDTH, WINDOWHEIGHT); + player->mouse_callback(window, 0.0f, WINDOWHEIGHT); int FPS = -1; diff --git a/maze.txt b/maze.txt index c6dc10b..f320269 100644 --- a/maze.txt +++ b/maze.txt @@ -1,4 +1,4 @@ -845.0 2.5 -5.0 0.0 +845.0 2.5 -5.0 -128.0 6498 -0.5 0.0 0.5 0.0 0.0 1.0 959.5 0.0 0.5 0.0 0.0 1.0