not-fl3 / macroquad

Cross-platform game engine in Rust.
Apache License 2.0
3.27k stars 317 forks source link

Allowed users to optinoally define number of sides on draw_circle and draw_circle_lines #713

Open Nrosa01 opened 5 months ago

Nrosa01 commented 5 months ago

Circles look really bad with only 20 sides. Optionally being able to change that number will be good. I wanted to avoid creating a new method just for this so this is a breaking change as Rust doesn't support default field values for function parameters user will be forced to either add Some(u8) or None to these two function calls in they codebase. They can easily fix it with regex but it's still a little annoying breaking change for something simple. Maybe this can be merged when a new macroquad version releases.