WIP: Wall intersection
[kaka/rust-sdl-test.git] / src / common / mod.rs
CommitLineData
af18b07f 1mod geometry;
60058b91
TW
2pub use common::geometry::{
3 Point,
4 Dimension,
5 Radians,
6 Degrees,
7 Intersection,
8};
af18b07f
TW
9
10mod time;
11pub use common::time::ScopeTimer;
60058b91
TW
12
13#[macro_export]
14macro_rules! hashmap {
15 ($($k:expr => $v:expr),*) => {
16 {
17 let mut map = std::collections::HashMap::new();
18 $(map.insert($k, $v);)*
19 map
20 }
21 }
22}