1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//! # Rhusics physics library
//!
//! A physics library.
//! Uses [`cgmath`](https://github.com/brendanzab/cgmath/) for all computation.
//!
//! Features:
//!
//! * Two different broad phase collision detection implementations:
//! * Brute force
//! * Sweep and Prune
//! * Narrow phase collision detection using GJK, and optionally EPA for full contact information
//! * Functions for collision detection working on user supplied transform, and
//! [`CollisionShape`](collide/struct.CollisionShape.html) components.
//! Can optionally use broad and/or narrow phase detection.
//! Library supplies a transform implementation [`BodyPose`](struct.BodyPose.html) for
//! convenience.
//! * Uses single precision as default, can be changed to double precision with the `double`
//! feature.
//! * Has support for doing spatial sort/collision detection using the collision-rs DBVT.
//! * Support for doing broad phase using the collision-rs DBVT.
//! * Has support for all primitives in collision-rs
//!
extern crate cgmath;
extern crate collision;
extern crate rhusics_core as core;
extern crate shrev;
extern crate specs;
extern crate serde;
pub use ;
pub use ;
pub use WithRhusics;