Player starts facing forward

This commit is contained in:
2023-10-16 19:02:45 -04:00
parent 961dfa0ab7
commit a40cef5e93
2 changed files with 4 additions and 4 deletions

View File

@@ -1,9 +1,9 @@
#include <stdlib.h>
#include <stdio.h>
#include <glad/glad.h>
#include "glad/glad.h"
#include <GLFW/glfw3.h>
#include <stb_image.h>
#include "stb_image.h"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
@@ -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;

View File

@@ -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