mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
fix step on & move some code somewhere
This commit is contained in:
parent
ed9ceb26ba
commit
b52e990e40
2 changed files with 204 additions and 203 deletions
|
|
@ -66,7 +66,7 @@ struct Hitbox {
|
|||
Hitbox(BodyType type, glm::vec3 position, glm::vec3 halfsize);
|
||||
|
||||
AABB getAABB() const {
|
||||
return AABB(position-halfsize, position+halfsize);
|
||||
return AABB(position - halfsize, position + halfsize);
|
||||
}
|
||||
|
||||
glm::vec3 getHalfSize() const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue