library: core: add LinearColor type
This commit is contained in:
parent
ecde825407
commit
b89631adce
6
src/core/color.rs
Normal file
6
src/core/color.rs
Normal file
|
@ -0,0 +1,6 @@
|
|||
#[derive(Debug)]
|
||||
pub struct LinearColor {
|
||||
pub r: f64,
|
||||
pub g: f64,
|
||||
pub b: f64,
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
pub mod color;
|
||||
pub use color::*;
|
Loading…
Reference in a new issue