mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Refactor and fixes
This commit is contained in:
parent
b4a3608302
commit
63b5f4bc6b
25 changed files with 394 additions and 278 deletions
|
|
@ -17,3 +17,7 @@ Player::Player(glm::vec3 position, float speed, Camera* camera) :
|
|||
Player::~Player(){
|
||||
delete hitbox;
|
||||
}
|
||||
|
||||
void Player::teleport(glm::vec3 position) {
|
||||
hitbox->position = position;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue