Cleanup unused imports.
[mandelwow.git] / support / mod.rs
1 #![allow(dead_code)]
2
3 pub mod camera;
4 pub mod vec3;
5
6 pub enum Action {
7     Stop,
8     Continue,
9 }
10
11 pub fn start_loop<F>(mut callback: F) where F: FnMut() -> Action {
12     loop {
13         match callback() {
14             Action::Stop => break,
15             Action::Continue => ()
16         };
17     }
18 }