Refactor
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user