Commit | Line | Data |
---|---|---|
af18b07f | 1 | mod geometry; |
60058b91 TW |
2 | pub use common::geometry::{ |
3 | Point, | |
4 | Dimension, | |
5 | Radians, | |
6 | Degrees, | |
7 | Intersection, | |
8 | }; | |
af18b07f TW |
9 | |
10 | mod time; | |
11 | pub use common::time::ScopeTimer; | |
60058b91 TW |
12 | |
13 | #[macro_export] | |
14 | macro_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 | } |