fix step on & move some code somewhere

This commit is contained in:
MihailRis 2026-02-24 00:38:13 +03:00
parent ed9ceb26ba
commit b52e990e40
2 changed files with 204 additions and 203 deletions

View file

@ -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 {