diff options
Diffstat (limited to 'stockton-levels/src/traits/models.rs')
-rw-r--r-- | stockton-levels/src/traits/models.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stockton-levels/src/traits/models.rs b/stockton-levels/src/traits/models.rs index 7d1b896..4f755f3 100644 --- a/stockton-levels/src/traits/models.rs +++ b/stockton-levels/src/traits/models.rs @@ -19,6 +19,7 @@ use na::Vector3; use std::ops::Range; use super::{HasFaces, HasBrushes}; +use crate::coords::CoordSystem; #[derive(Debug, Clone)] pub struct Model { @@ -28,7 +29,7 @@ pub struct Model { pub brushes_idx: Range<u32>, } -pub trait HasModels: HasFaces + HasBrushes { +pub trait HasModels<S: CoordSystem>: HasFaces<S> + HasBrushes<S> { type ModelsIter<'a>: Iterator<Item = &'a Model>; fn models_iter<'a>(&'a self) -> Self::ModelsIter<'a>; |