mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
OutlineOval improvement
This commit is contained in:
parent
0286570c1e
commit
c3ad1b9ed1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue