library: core: add LinearColor type

This commit is contained in:
Bruno BELANYI 2020-03-16 15:16:37 +01:00
parent ecde825407
commit b89631adce
2 changed files with 8 additions and 0 deletions

6
src/core/color.rs Normal file
View file

@ -0,0 +1,6 @@
#[derive(Debug)]
pub struct LinearColor {
pub r: f64,
pub g: f64,
pub b: f64,
}

View file

@ -0,0 +1,2 @@
pub mod color;
pub use color::*;