diff --git a/SDK/src/NDK/Systems/DebugSystem.cpp b/SDK/src/NDK/Systems/DebugSystem.cpp index f2175e559..d8c61b9bc 100644 --- a/SDK/src/NDK/Systems/DebugSystem.cpp +++ b/SDK/src/NDK/Systems/DebugSystem.cpp @@ -231,9 +231,6 @@ namespace Ndk { case DebugDraw::Collider2D: { - const Nz::Boxf& obb = entityGfx.GetAABB(); - CollisionComponent2D& entityCollision2D = entity->GetComponent(); - Nz::Vector3f offset; Nz::InstancedRenderableRef renderable = GenerateCollision2DMesh(entity, &offset); if (renderable)