fix Entities.hasBlockingInside

This commit is contained in:
MihailRis
2024-07-10 06:40:10 +03:00
parent 93565d19ad
commit 5874abff98
2 changed files with 7 additions and 3 deletions
+4
View File
@@ -57,6 +57,10 @@ struct Hitbox {
bool crouching = false;
Hitbox(BodyType type, glm::vec3 position, glm::vec3 halfsize);
AABB getAABB() const {
return AABB(position-halfsize, position+halfsize);
}
};
#endif // PHYSICS_HITBOX_HPP_