SP and TP cameras

This commit is contained in:
A-lex-Ra 2023-12-11 22:22:52 +06:00
parent 3ae3001227
commit 20caa4b980
9 changed files with 123 additions and 7 deletions

View file

@ -14,6 +14,7 @@ class Level;
struct PlayerInput {
bool zoom;
bool cameraMode;
bool moveForward;
bool moveBack;
bool moveRight;
@ -29,7 +30,7 @@ struct PlayerInput {
class Player {
float speed;
public:
Camera* camera;
Camera* camera, *SPCamera, *TPCamera, *currentViewCamera;
Hitbox* hitbox;
bool flight = false;
bool noclip = false;