mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Re-Removed old code in TransformSystem
This commit is contained in:
@@ -8,14 +8,10 @@ namespace GlitchyEngine.World
|
||||
{
|
||||
_frame++;
|
||||
|
||||
for(var entity in world.Enumerate(typeof(TransformComponent)))
|
||||
for(var (entity, transform) in world.Enumerate<TransformComponent>())
|
||||
{
|
||||
UpdateEntity(entity, transform, world);
|
||||
}
|
||||
{
|
||||
UpdateEntity(entity, world);
|
||||
}
|
||||
}
|
||||
|
||||
private static void UpdateEntity(Entity entity, TransformComponent* transform, EcsWorld world)
|
||||
|
||||
Reference in New Issue
Block a user