Create colour module
This commit is contained in:
parent
6870186bca
commit
8b30ad581e
|
|
@ -4,7 +4,7 @@ use std::ops::{Add, Mul};
|
||||||
|
|
||||||
#[derive(Copy, Clone, Debug, Default)]
|
#[derive(Copy, Clone, Debug, Default)]
|
||||||
pub struct ColourRgbF {
|
pub struct ColourRgbF {
|
||||||
values: Vec3,
|
pub values: Vec3,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ColourRgbF {
|
impl ColourRgbF {
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
pub mod colour_rgb;
|
||||||
|
pub use colour_rgb::{ColourRgbF, ColourRgbU8, NamedColour};
|
||||||
Loading…
Reference in New Issue