#pragma once #include #include "../entities/entity.h" namespace collision { /* * This structure represents a collision box inside the world. * * center_pos: The center position of the collision box * size: The size in each axis of the collision box */ struct Box { glm::vec3 center_pos; glm::vec3 size; }; /* * This structure represents a collision between 2 entities * * entity1: The first entity * entity2: The second entity */ struct Collision { entities::Entity& entity1; entities::Entity& entity2; }; }