refactoring
This commit is contained in:
@@ -11,7 +11,7 @@ Player::Player(glm::vec3 position, float speed, Camera* camera) :
|
||||
camera(camera),
|
||||
choosenBlock(1),
|
||||
camX(0.0f), camY(0.0f){
|
||||
hitbox = new Hitbox(position, vec3(0.2f,0.9f,0.2f));
|
||||
hitbox = new Hitbox(position, vec3(0.3f,0.9f,0.3f));
|
||||
}
|
||||
|
||||
Player::~Player(){
|
||||
|
||||
@@ -15,6 +15,7 @@ public:
|
||||
Hitbox* hitbox;
|
||||
bool flight = false;
|
||||
bool noclip = false;
|
||||
bool debug = false;
|
||||
int choosenBlock;
|
||||
float camX, camY;
|
||||
float cameraShaking = 0.0f;
|
||||
|
||||
Reference in New Issue
Block a user