From c3ad1b9ed1db4e1f37f685d3ef5ddf02243c04f4 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Mon, 7 Apr 2025 15:08:50 -0400 Subject: [PATCH] OutlineOval improvement --- BeefLibs/Beefy2D/src/gfx/Graphics.bf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BeefLibs/Beefy2D/src/gfx/Graphics.bf b/BeefLibs/Beefy2D/src/gfx/Graphics.bf index 0185948b..cc8ceb35 100644 --- a/BeefLibs/Beefy2D/src/gfx/Graphics.bf +++ b/BeefLibs/Beefy2D/src/gfx/Graphics.bf @@ -1038,7 +1038,7 @@ namespace Beefy.gfx public void OutlineOval(float x, float y, float radiusX, float radiusY) { - int numSections = 40; + int numSections = 12 + (.)((radiusX + radiusY) * 0.15f); for (int section < numSections) { float ang0 = (section * Math.PI_f * 2) / numSections;