From a40cef5e93e678e983ad4981b3f74c89f755c0ee Mon Sep 17 00:00:00 2001 From: Erik Cowley Date: Mon, 16 Oct 2023 19:02:45 -0400 Subject: [PATCH] Player starts facing forward --- ghostland.cpp | 6 +++--- maze.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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