diff options
| author | Crozet Sébastien <developer@crozet.re> | 2021-01-25 17:22:57 +0100 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2021-01-25 17:22:57 +0100 |
| commit | 4799a81214d3b2ea5ee69220ea179f44142d40cc (patch) | |
| tree | b5adf5e5e9d88827632b472f1fd17dfd65f54eb7 /src/geometry/mod.rs | |
| parent | 8f7220f03d3c23574b9ece09d81d32e862f1b5c6 (diff) | |
| download | rapier-4799a81214d3b2ea5ee69220ea179f44142d40cc.tar.gz rapier-4799a81214d3b2ea5ee69220ea179f44142d40cc.tar.bz2 rapier-4799a81214d3b2ea5ee69220ea179f44142d40cc.zip | |
Add missing constructor for a round-triangle collider.
Diffstat (limited to 'src/geometry/mod.rs')
| -rw-r--r-- | src/geometry/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/geometry/mod.rs b/src/geometry/mod.rs index 6b8aebf..d1c4161 100644 --- a/src/geometry/mod.rs +++ b/src/geometry/mod.rs @@ -42,6 +42,8 @@ pub type Ray = parry::query::Ray; pub type RayIntersection = parry::query::RayIntersection; /// The the projection of a point on a collider. pub type PointProjection = parry::query::PointProjection; +/// The the time of impact between two shapes. +pub type TOI = parry::query::TOI; pub use parry::shape::SharedShape; #[derive(Copy, Clone, Hash, Debug)] |
