commit indexable set change

pull/6/head
cosmonaut 2023-11-16 15:38:28 -08:00
parent 91da645d71
commit 93c058951c
1 changed files with 0 additions and 13 deletions

View File

@ -61,19 +61,6 @@ namespace MoonTools.ECS.Collections
return false;
}
/*
var index = indices[element];
if (index != Count - 1)
{
var lastElement = array[Count - 1];
array[index] = lastElement;
indices[lastElement] = index;
}
count -= 1;
indices.Remove(element);
*/
var index = indices[element];
for (var i = index; i < Count - 1; i += 1)