chore: updated misleading comment

This commit is contained in:
Syntriax 2025-06-28 14:15:11 +03:00
parent 14843ddeba
commit 7212094a3d

View File

@ -4,7 +4,7 @@ namespace Syntriax.Engine.Core;
public class UpdateManager : Behaviour
{
// We use Ascending order because draw calls are running from last to first
// We use Ascending order because we are using reverse for loop to call them
private static Comparer<IBehaviour> SortByAscendingPriority() => Comparer<IBehaviour>.Create((x, y) => x.Priority.CompareTo(y.Priority));
private readonly ActiveBehaviourCollectorSorted<IFirstFrameUpdate> firstFrameUpdates = new() { SortBy = SortByAscendingPriority() };