-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Added a Grey trait, and implementations on baked-in colors. Fixes #13206 #13237
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
Changes from all commits
54ea936
923c20f
080dcc5
8537a12
75b6129
77fa5dc
59ef7bf
2d48ae0
4c8eeb7
1a82b5c
5c14300
c3eb1e0
73283f4
aa797d2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ mod downsampling_pipeline; | |
| mod settings; | ||
| mod upsampling_pipeline; | ||
|
|
||
| use bevy_color::LinearRgba; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I wrote this, but I do not like what the new trait requires usage-wise. I want to find a way to not require this trait be included. This might not be as big an issue if this is already included in prelude, but if people have suggestions to not require this inclusion, that would be appreciated. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this can absolutely be put in the prelude, it's one of the main use-cases for it actually, importing traits that are mostly used by users. |
||
| use bevy_color::{Gray, LinearRgba}; | ||
| pub use settings::{BloomCompositeMode, BloomPrefilterSettings, BloomSettings}; | ||
|
|
||
| use crate::{ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The third parameter is a rounding error in test_colors, but I figured it'd be better to maintain it looking just like the test data. I can round these to nearest significant digit if preferred.