diff options
| author | Crozet Sébastien <developer@crozet.re> | 2021-07-20 16:31:39 +0200 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2021-07-20 16:31:39 +0200 |
| commit | 47d30b11f4dbcafa89c459552e99b3672a8e8f3d (patch) | |
| tree | 751c55e101c60f74d7bc038ef96aec25e52130fe /src | |
| parent | 92b858076182f156774916aabbf52647eebfb155 (diff) | |
| download | rapier-47d30b11f4dbcafa89c459552e99b3672a8e8f3d.tar.gz rapier-47d30b11f4dbcafa89c459552e99b3672a8e8f3d.tar.bz2 rapier-47d30b11f4dbcafa89c459552e99b3672a8e8f3d.zip | |
Make BroadPhasePairEvent and ColliderPair public.
Otherewise it is impossible to use BroadPhase::update properly.
Diffstat (limited to 'src')
| -rw-r--r-- | src/geometry/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/geometry/mod.rs b/src/geometry/mod.rs index a4b17f3..0462cbf 100644 --- a/src/geometry/mod.rs +++ b/src/geometry/mod.rs @@ -1,6 +1,6 @@ //! Structures related to geometry: colliders, shapes, etc. -pub use self::broad_phase_multi_sap::BroadPhase; +pub use self::broad_phase_multi_sap::{BroadPhase, BroadPhasePairEvent, ColliderPair}; pub use self::collider_components::*; pub use self::contact_pair::{ContactData, ContactManifoldData}; pub use self::contact_pair::{ContactPair, SolverContact, SolverFlags}; @@ -88,7 +88,7 @@ impl IntersectionEvent { } } -pub(crate) use self::broad_phase_multi_sap::{BroadPhasePairEvent, ColliderPair, SAPProxyIndex}; +pub(crate) use self::broad_phase_multi_sap::SAPProxyIndex; pub(crate) use self::narrow_phase::ContactManifoldIndex; pub(crate) use parry::partitioning::QBVH; pub use parry::shape::*; |
