Fix Color constants
This commit is contained in:
parent
447bd542af
commit
5ee2dc3fad
|
@ -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.);
|
||||
|
|
Loading…
Reference in New Issue