autocommit 2022-04-13 21:01:32 CEST
This commit is contained in:
parent
661a28e5b0
commit
916e3644c3
30 changed files with 681 additions and 73 deletions
|
|
@ -15,6 +15,13 @@ impl Color {
|
|||
b: 0.8,
|
||||
a: 1.0,
|
||||
};
|
||||
|
||||
pub const BLACK: Self = Self {
|
||||
r: 0.0,
|
||||
g: 0.0,
|
||||
b: 0.0,
|
||||
a: 1.0,
|
||||
};
|
||||
}
|
||||
|
||||
fn to_f32(c: u8) -> f32 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue