diff --git a/platformer/src/collider_gizmos/plugin.cpp b/platformer/src/collider_gizmos/plugin.cpp index 1ee82e0..1570dad 100644 --- a/platformer/src/collider_gizmos/plugin.cpp +++ b/platformer/src/collider_gizmos/plugin.cpp @@ -1,7 +1,6 @@ #include "plugin.hpp" #include -#include #include using cubos::core::ecs::Query; @@ -10,9 +9,9 @@ using cubos::core::ecs::Write; using namespace cubos::engine; -static void gizmosSystem(Write gizmos, Query, Read> colliders) +static void gizmosSystem(Write gizmos, Query> colliders) { - for (auto [entity, transform, collider] : colliders) + for (auto [entity, collider] : colliders) { gizmos->drawWireBox("collider", collider->worldAABB.diag[0], collider->worldAABB.diag[1]); }