Commit | Line | Data |
---|---|---|
1 | mod geometry; | |
2 | pub use common::geometry::{ | |
3 | Point, | |
4 | Dimension, | |
5 | Radians, | |
6 | Degrees, | |
7 | Intersection, | |
8 | supercover_line, | |
9 | }; | |
10 | ||
11 | mod time; | |
12 | pub use common::time::ScopeTimer; | |
13 | ||
14 | #[macro_export] | |
15 | macro_rules! hashmap { | |
16 | ($($k:expr => $v:expr),*) => { | |
17 | { | |
18 | let mut map = std::collections::HashMap::new(); | |
19 | $(map.insert($k, $v);)* | |
20 | map | |
21 | } | |
22 | } | |
23 | } |