Skip to content

Commit

Permalink
Add inline property to DtProximityGrid.Clear()
Browse files Browse the repository at this point in the history
  • Loading branch information
ikpil committed Dec 15, 2024
1 parent a05eaba commit 5fc7106
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DotRecast.Detour.Crowd/DtProximityGrid.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public static void DecomposeKey(long key, out int x, out int y)
y = (int)uy;
}

[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void Clear()
{
_items.Clear();
Expand Down

0 comments on commit 5fc7106

Please sign in to comment.