From 30280c5f936f4e91005484da32717bc82a4f0cb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20L=C3=BCbe=C3=9F?= Date: Thu, 2 Sep 2021 13:02:43 +0200 Subject: [PATCH] Re-Removed old code in TransformSystem --- GlitchyEngine/src/World/TransformSystem.bf | 4 ---- 1 file changed, 4 deletions(-) diff --git a/GlitchyEngine/src/World/TransformSystem.bf b/GlitchyEngine/src/World/TransformSystem.bf index f10df5e..0f848ff 100644 --- a/GlitchyEngine/src/World/TransformSystem.bf +++ b/GlitchyEngine/src/World/TransformSystem.bf @@ -8,14 +8,10 @@ namespace GlitchyEngine.World { _frame++; - for(var entity in world.Enumerate(typeof(TransformComponent))) for(var (entity, transform) in world.Enumerate()) { UpdateEntity(entity, transform, world); } - { - UpdateEntity(entity, world); - } } private static void UpdateEntity(Entity entity, TransformComponent* transform, EcsWorld world)