mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
10 lines
214 B
C++
10 lines
214 B
C++
#include "Hitbox.hpp"
|
|
|
|
#include <stdexcept>
|
|
|
|
Hitbox::Hitbox(BodyType type, glm::vec3 position, glm::vec3 halfsize)
|
|
: type(type),
|
|
position(position),
|
|
halfsize(halfsize),
|
|
velocity(0.0f,0.0f,0.0f)
|
|
{}
|