mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
the final rename
This commit is contained in:
parent
f27a418dbe
commit
1627e21c1d
196 changed files with 836 additions and 815 deletions
17
src/physics/Hitbox.hpp
Normal file
17
src/physics/Hitbox.hpp
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifndef PHYSICS_HITBOX_HPP_
|
||||
#define PHYSICS_HITBOX_HPP_
|
||||
|
||||
#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_HPP_ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue