sebcrozet / ncollide
- воскресенье, 8 мая 2016 г. в 03:13:02
Rust
2 and 3-dimensional collision detection library in Rust
ncollide is a 2 and 3-dimensional collision detection library written with the rust programming language.
As its name suggests, it is generic wrt the dimension: it works with both 2-dimensional and 3-dimensional geometries. It might work with higher dimensions (never tried).
The official user guide is available here. The rustdoc documentation is available here.
You will need the last stable build of the rust compiler and the official package manager: cargo.
Simply add the following to your Cargo.toml
file:
[dependencies]
ncollide = "0.9.*"
And various traits for collision detectors and broad phase collision detection.