Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Nrosa01
Copy link
Contributor

@Nrosa01 Nrosa01 commented Apr 11, 2024

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.

@cyrgani
Copy link
Contributor

cyrgani commented Oct 27, 2024

You should at least update all usages of this fuunction inside of macroquad so CI no longer fails and the crate can be built.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants