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

Add missing ApproxEq implementations #52

Merged
merged 5 commits into from
Feb 15, 2016
Merged

Add missing ApproxEq implementations #52

merged 5 commits into from
Feb 15, 2016

Conversation

Ogeon
Copy link
Owner

@Ogeon Ogeon commented Feb 14, 2016

#51 didn't implement ApproxEq for Alpha and Color, so this PR adds those implementations.

@Ogeon
Copy link
Owner Author

Ogeon commented Feb 14, 2016

It's also missing for Srgb and GammaRgb, so I'll most likely implement it for those too. I don't see why not.

@sidred
Copy link
Contributor

sidred commented Feb 15, 2016

Also equality.rs line 44, missing hue

impl_eq!( Lch, [l, chroma] );

Should be

impl_eq!( Lch, [l, chroma, hue] );

@Ogeon
Copy link
Owner Author

Ogeon commented Feb 15, 2016

Thanks, I'll add that one too.

@Ogeon
Copy link
Owner Author

Ogeon commented Feb 15, 2016

There we go. ApproxEq should now be implemented for every struct and enum where it's applicable.

@homu
Copy link
Contributor

homu commented Feb 15, 2016

☔ The latest upstream changes (presumably #53) made this pull request unmergeable. Please resolve the merge conflicts.

@Ogeon
Copy link
Owner Author

Ogeon commented Feb 15, 2016

@homu r+

@homu
Copy link
Contributor

homu commented Feb 15, 2016

📌 Commit d8ec3be has been approved by Ogeon

@homu
Copy link
Contributor

homu commented Feb 15, 2016

⚡ Test exempted - status

@homu homu merged commit d8ec3be into master Feb 15, 2016
homu added a commit that referenced this pull request Feb 15, 2016
Add missing ApproxEq implementations

#51 didn't implement `ApproxEq` for `Alpha` and `Color`, so this PR adds those implementations.
@Ogeon Ogeon deleted the missing_approx_eq branch February 15, 2016 22:22
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.

3 participants