Skip to content

Commit

Permalink
I cant math for shit.
Browse files Browse the repository at this point in the history
  • Loading branch information
gluesniffler committed Sep 21, 2024
1 parent ff03d58 commit 4dd8b0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private void CreateMenu(List<ShortConstructionEntry> entries, string? parentCate
var container = new RadialContainer
{
Name = parentCategory ?? "Main",
Radius = 36f / MathF.Sin(MathF.PI / 2f / entries.Count),
Radius = 48f + 24f * MathF.Log(entries.Count),
};

_menu.AddChild(container);
Expand Down

0 comments on commit 4dd8b0a

Please sign in to comment.