This commit is contained in:
MihailRis
2024-01-10 16:41:51 +03:00
parent e2bb7a34aa
commit 9760cff8f4
10 changed files with 76 additions and 85 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
#ifndef PLAYER_CONTROL_H_
#define PLAYER_CONTROL_H_
#include <memory>
#include <glm/glm.hpp>
#include "../settings.h"
@@ -12,7 +13,7 @@ class BlocksController;
class CameraControl {
Player* player;
Camera* camera, *currentViewCamera;
std::shared_ptr<Camera> camera, currentViewCamera;
const CameraSettings& settings;
glm::vec3 offset;
float shake = 0.0f;