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

Replace uses of RangeInclusive<f32> with emath::Rangef #3221

Merged
merged 2 commits into from
Aug 10, 2023
Merged

Conversation

emilk
Copy link
Owner

@emilk emilk commented Aug 10, 2023

RangeInclusive is unergonomic in not implementing Clone, and having weirdly named .start(() and .end() returning references.

Rangef is an ergonomic replacement for RangeInclusive<f32>

@emilk emilk added the emath Relates to the emath crate label Aug 10, 2023
@emilk emilk merged commit 8cdffc4 into master Aug 10, 2023
@emilk emilk deleted the emilk/range branch August 10, 2023 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
egui emath Relates to the emath crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant