From 729e510c001dcdfccff042155143be95883195a3 Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Tue, 20 Jul 2021 16:31:39 +0200 Subject: Make BroadPhasePairEvent and ColliderPair public. Otherewise it is impossible to use BroadPhase::update properly. --- src/geometry/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/geometry') 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::*; -- cgit