Fix Color constants

This commit is contained in:
marceline-cramer 2022-07-27 21:48:01 -06:00
parent 447bd542af
commit 5ee2dc3fad
1 changed files with 2 additions and 2 deletions

View File

@ -37,8 +37,8 @@ impl Color {
pub const BLACK: Self = Self::new(0., 0., 0., 1.);
pub const TRANSPARENT: Self = Self::new(0., 0., 0., 0.);
pub const RED: Self = Self::new(1., 0., 0., 1.);
pub const GREEN: Self = Self::new(1., 0., 0., 1.);
pub const BLUE: Self = Self::new(0., 1., 0., 1.);
pub const GREEN: Self = Self::new(0., 1., 0., 1.);
pub const BLUE: Self = Self::new(0., 0., 1., 1.);
pub const YELLOW: Self = Self::new(1., 1., 0., 1.);
pub const MAGENTA: Self = Self::new(1., 0., 1., 1.);
pub const CYAN: Self = Self::new(0., 1., 1., 1.);