Skip to content

make several Circle methods const and add a few doc comments #920

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

Merged
merged 1 commit into from
Mar 24, 2025

Conversation

cyrgani
Copy link
Contributor

@cyrgani cyrgani commented Mar 24, 2025

The same as #919, but for Circle.
Makes several methods that use &mut self const, fixes a few typos and adds documentation to several methods that did not yet have any.

Unfortunately, not all methods can be const yet, because f32::sqrt (used by Vec2::distance) is not const.

@not-fl3 not-fl3 merged commit f778c1f into not-fl3:master Mar 24, 2025
6 checks passed
@cyrgani cyrgani deleted the circle-const branch March 24, 2025 13:43
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