mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Added camera shaking
This commit is contained in:
parent
b598e9ee03
commit
cdc8a26a30
2 changed files with 29 additions and 13 deletions
|
|
@ -13,6 +13,8 @@ public:
|
|||
Hitbox* hitbox;
|
||||
int choosenBlock;
|
||||
float camX, camY;
|
||||
float cameraShaking = 0.0f;
|
||||
float cameraShakingTimer = 0.0f;
|
||||
Player(glm::vec3 position, float speed, Camera* camera);
|
||||
~Player();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue