From 6af39c4f825c22fae351c406d6c837c99e3fa39e Mon Sep 17 00:00:00 2001 From: Ritchie Cunningham Date: Mon, 15 Sep 2025 18:29:01 +0100 Subject: [PATCH] [Fix] _world_up vector initialiser for z-coord. --- src/bettola.cpp | 5 ----- src/graphics/camera.cpp | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/bettola.cpp b/src/bettola.cpp index f93b142..937733c 100644 --- a/src/bettola.cpp +++ b/src/bettola.cpp @@ -1,15 +1,10 @@ #include -#include /* FINE LSP!! I'll play your games!!!! */ #include /* ~HJAPPY?!?!?! */ #include -#include #include #include #include -#include -#include -#include #include #include #include "game/player.h" diff --git a/src/graphics/camera.cpp b/src/graphics/camera.cpp index d8e0748..6c65fe7 100644 --- a/src/graphics/camera.cpp +++ b/src/graphics/camera.cpp @@ -9,7 +9,7 @@ Camera::Camera(void) : _front({0.0f, 0.0f, -1.0f}), _up({0.0f, 1.0f, 0.0f}), _right({0.0f, 0.0f, 0.0f}), - _world_up({0.0f, 1.0f, -1.0f}), + _world_up({0.0f, 1.0f, 0.0f}), _yaw(-90.0f), _pitch(0.0f), _distance(10.0f),