Make luminance Y public
This commit is contained in:
1 parent
882777e4ba
commit
5af54f2702
1 file changed
+1
-1
@@ -4,7 +4,7 @@ use ccvl_proc_macros::Pixel;
|
|||||||
|
|
||||||
#[derive(Clone, Copy, Debug, PartialEq, Pixel)]
|
#[derive(Clone, Copy, Debug, PartialEq, Pixel)]
|
||||||
pub struct Luminance {
|
pub struct Luminance {
|
||||||
y: f32
|
pub y: f32
|
||||||
}
|
}
|
||||||
|
|
||||||
const R_COEFF: f32 = 0.2126;
|
const R_COEFF: f32 = 0.2126;
|
||||||
|
|||||||
Reference in new issue
Block a user