Make BroadPhasePairEvent and ColliderPair public.

Otherewise it is impossible to use BroadPhase::update properly.
This commit is contained in:
Crozet Sébastien
2021-07-20 16:31:39 +02:00
committed by Sébastien Crozet
parent 75a677c58a
commit 729e510c00

View File

@@ -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::*;