Skip to content

Commit

Permalink
ECS - removed accidental committed change
Browse files Browse the repository at this point in the history
  • Loading branch information
friflo committed Jul 31, 2024
1 parent 427662a commit 6e2517c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ECS/Archetype/Archetype.cs
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,8 @@ internal static int AddEntity(Archetype arch, int id)
}

private static void ResizeGrow (Archetype arch) => Resize(arch, 2 * arch.memory.capacity);
private static void ResizeShrink(Archetype arch) {
// Resize(arch, 2 * arch.memory.shrinkThreshold);
}
private static void ResizeShrink(Archetype arch) => Resize(arch, 2 * arch.memory.shrinkThreshold);


private static void Resize(Archetype arch, int capacity)
{
Expand Down

0 comments on commit 6e2517c

Please sign in to comment.