mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
Refactor
This commit is contained in:
parent
e2bb7a34aa
commit
9760cff8f4
10 changed files with 76 additions and 85 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue