aboutsummaryrefslogtreecommitdiff
path: root/stockton-levels/src/parts/visdata.rs
blob: f311bf7f146aa8a491ce0f9766a3e1650ed42a8b (plain)
1
2
3
4
5
6
7
8
use super::faces::FaceRef;
use na::Vector3;
use std::iter::Iterator;

pub trait HasVisData {
    type Faces: Iterator<Item = FaceRef>;
    fn get_visible(pos: Vector3<f32>, rot: Vector3<f32>) -> Self::Faces;
}