autocommit 2022-02-19 23:48:18 CET
This commit is contained in:
parent
ae66acef73
commit
0f2fbcc5e7
6 changed files with 63 additions and 42 deletions
|
|
@ -15,6 +15,13 @@ impl Color {
|
|||
b: 0.0,
|
||||
a: 1.0,
|
||||
};
|
||||
|
||||
pub const GREY: Self = Self {
|
||||
r: 0.8,
|
||||
g: 0.8,
|
||||
b: 0.8,
|
||||
a: 1.0,
|
||||
};
|
||||
}
|
||||
|
||||
fn to_f32(c: u8) -> f32 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue