library: core: add LinearColor type
This commit is contained in:
parent
ecde825407
commit
b89631adce
2 changed files with 8 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue