[Fix] _world_up vector initialiser for z-coord.

This commit is contained in:
Ritchie Cunningham 2025-09-15 18:29:01 +01:00
parent 9bf8b277ff
commit 6af39c4f82
2 changed files with 1 additions and 6 deletions

View File

@ -1,15 +1,10 @@
#include <GL/glew.h>
#include <SDL3/SDL_error.h>
/* FINE LSP!! I'll play your games!!!! */
#include <SDL3/SDL_events.h> /* ~HJAPPY?!?!?! */
#include <SDL3/SDL_mouse.h>
#include <SDL3/SDL_oldnames.h>
#include <SDL3/SDL_stdinc.h>
#include <SDL3/SDL_timer.h>
#include <SDL3/SDL_video.h>
#include <arpa/inet.h>
#include <fcntl.h>
#include <netinet/in.h>
#include <cstdlib>
#include <cstdio>
#include "game/player.h"

View File

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