[Fix] _world_up vector initialiser for z-coord.
This commit is contained in:
parent
9bf8b277ff
commit
6af39c4f82
@ -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"
|
||||
|
||||
@ -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),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user