mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
New defines | implemented Player destructor
This commit is contained in:
parent
32878de5f3
commit
b0a15a7c8c
2 changed files with 13 additions and 4 deletions
|
|
@ -10,3 +10,7 @@ Player::Player(glm::vec3 position, float speed, Camera* camera) :
|
|||
camX(0.0f), camY(0.0f){
|
||||
hitbox = new Hitbox(position, vec3(0.2f,0.9f,0.2f));
|
||||
}
|
||||
|
||||
Player::~Player(){
|
||||
delete hitbox;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue