diff options
Diffstat (limited to 'evc/src/pixel.rs')
-rw-r--r-- | evc/src/pixel.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/evc/src/pixel.rs b/evc/src/pixel.rs index aaf8d83..b3ef841 100644 --- a/evc/src/pixel.rs +++ b/evc/src/pixel.rs @@ -19,6 +19,7 @@ impl Ser for Pixel { } impl Pixel { + pub const BLACK: Pixel = Pixel { r: 0, g: 0, b: 0 }; #[inline] pub fn distance(a: Pixel, b: Pixel) -> f64 { let (rd, gd, bd) = ( |