diff options
Diffstat (limited to 'stockton-levels/src/traits/planes.rs')
-rw-r--r-- | stockton-levels/src/traits/planes.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stockton-levels/src/traits/planes.rs b/stockton-levels/src/traits/planes.rs index 6a4e95a..c024815 100644 --- a/stockton-levels/src/traits/planes.rs +++ b/stockton-levels/src/traits/planes.rs @@ -17,6 +17,7 @@ use std::iter::Iterator; use na::Vector3; +use crate::coords::CoordSystem; /// The planes lump from a BSP file. /// Found at lump index 2 in a q3 bsp. @@ -35,7 +36,7 @@ pub struct Plane { pub dist: f32, } -pub trait HasPlanes { +pub trait HasPlanes<S: CoordSystem> { type PlanesIter<'a>: Iterator<Item = &'a Plane>; fn planes_iter<'a>(&'a self) -> Self::PlanesIter<'a>; |