1
0
Fork 0
forked from wry/wry

autocommit 2022-02-19 23:48:18 CET

This commit is contained in:
Julian Orth 2022-02-19 23:48:18 +01:00
parent ae66acef73
commit 0f2fbcc5e7
6 changed files with 63 additions and 42 deletions

View file

@ -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 {