mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
* Scripting introduced * AppImage workflow fixes * AppImage workflow simplified * README.md update * README.md update * small fix
17 lines
295 B
C++
17 lines
295 B
C++
#ifndef PHYSICS_HITBOX_H_
|
|
#define PHYSICS_HITBOX_H_
|
|
|
|
#include <glm/glm.hpp>
|
|
|
|
class Hitbox {
|
|
public:
|
|
glm::vec3 position;
|
|
glm::vec3 halfsize;
|
|
glm::vec3 velocity;
|
|
float linear_damping;
|
|
bool grounded = false;
|
|
|
|
Hitbox(glm::vec3 position, glm::vec3 halfsize);
|
|
};
|
|
|
|
#endif /* PHYSICS_HITBOX_H_ */
|