From e3c742ff04a665c70c029f266aa0fe72e12ac72c Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 6 Dec 2022 17:45:26 +0100 Subject: vec2 everywhere --- evc/src/pixel.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'evc/src/pixel.rs') 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) = ( -- cgit v1.2.3-70-g09d2