2 and 3-dimensional collision detection library in Rust