mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
Scripting WIP (#70)
* Scripting introduced * AppImage workflow fixes * AppImage workflow simplified * README.md update * README.md update * small fix
This commit is contained in:
parent
ce26f0c227
commit
acce49f188
35 changed files with 649 additions and 138 deletions
|
|
@ -3,17 +3,15 @@
|
|||
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
using namespace glm;
|
||||
|
||||
class Hitbox {
|
||||
public:
|
||||
vec3 position;
|
||||
vec3 halfsize;
|
||||
vec3 velocity;
|
||||
glm::vec3 position;
|
||||
glm::vec3 halfsize;
|
||||
glm::vec3 velocity;
|
||||
float linear_damping;
|
||||
bool grounded = false;
|
||||
|
||||
Hitbox(vec3 position, vec3 halfsize);
|
||||
Hitbox(glm::vec3 position, glm::vec3 halfsize);
|
||||
};
|
||||
|
||||
#endif /* PHYSICS_HITBOX_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue