diff options
Diffstat (limited to 'stockton-levels/src/traits/light_vols.rs')
-rw-r--r-- | stockton-levels/src/traits/light_vols.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/stockton-levels/src/traits/light_vols.rs b/stockton-levels/src/traits/light_vols.rs deleted file mode 100644 index 2014fad..0000000 --- a/stockton-levels/src/traits/light_vols.rs +++ /dev/null @@ -1,15 +0,0 @@ -use crate::types::Rgb; - -#[derive(Debug, Clone, Copy)] -pub struct LightVol { - pub ambient: Rgb, - pub directional: Rgb, - pub dir: [u8; 2], -} - -pub trait HasLightVols { - type LightVolsIter<'a>: Iterator<Item = &'a LightVol>; - - fn lightvols_iter(&self) -> Self::LightVolsIter<'_>; - fn get_lightvol(&self, index: u32) -> &LightVol; -} |