Dolda2000 GitWeb
/
kaka
/
rust-sdl-test.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
WIP: Wall intersection
[kaka/rust-sdl-test.git]
/
src
/
common
/
mod.rs
1
mod geometry;
2
pub use common::geometry::{
3
Point,
4
Dimension,
5
Radians,
6
Degrees,
7
Intersection,
8
};
9
10
mod time;
11
pub use common::time::ScopeTimer;
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
}