aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2021-07-20 16:31:39 +0200
committerSébastien Crozet <sebastien@crozet.re>2021-07-30 11:09:15 +0200
commit729e510c001dcdfccff042155143be95883195a3 (patch)
tree6ef8eb0ae81af498ea85cfacb9c6fdc8d323df55 /src
parent75a677c58a1af68aa132d0d60d19a45dbfb7c474 (diff)
downloadrapier-729e510c001dcdfccff042155143be95883195a3.tar.gz
rapier-729e510c001dcdfccff042155143be95883195a3.tar.bz2
rapier-729e510c001dcdfccff042155143be95883195a3.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.rs4
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::*;