#pragma once #include #include namespace engine { struct AABB { glm::vec3 pos1; glm::vec3 pos2; }; class PhysicsSystem; struct ColliderComponent { friend PhysicsSystem; bool isStatic = true; bool isTrigger = false; // entity receives an event on collision enter and exit AABB aabb{}; // broad phase private: }; }