mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +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)
|
|
{}
|