diff options
| author | Crozet Sébastien <developer@crozet.re> | 2020-12-17 18:37:16 +0100 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2020-12-29 11:31:59 +0100 |
| commit | 8fe2df126a279a435cc544b150aadf8f7b757868 (patch) | |
| tree | 5e574a98190b393d3d54af8922146d5078058824 /src/geometry/mod.rs | |
| parent | 29717c2887b2db39faf9c25053730b661dc5da2b (diff) | |
| download | rapier-8fe2df126a279a435cc544b150aadf8f7b757868.tar.gz rapier-8fe2df126a279a435cc544b150aadf8f7b757868.tar.bz2 rapier-8fe2df126a279a435cc544b150aadf8f7b757868.zip | |
Remove some irrelevant code.
Diffstat (limited to 'src/geometry/mod.rs')
| -rw-r--r-- | src/geometry/mod.rs | 44 |
1 files changed, 19 insertions, 25 deletions
diff --git a/src/geometry/mod.rs b/src/geometry/mod.rs index efb0cd4..2d0b5d9 100644 --- a/src/geometry/mod.rs +++ b/src/geometry/mod.rs @@ -10,39 +10,38 @@ pub use self::interaction_graph::{ ColliderGraphIndex, InteractionGraph, RigidBodyGraphIndex, TemporaryInteractionIndex, }; pub use self::narrow_phase::NarrowPhase; -pub use self::polygon::Polygon; -pub use self::user_callbacks::{ContactPairFilter, PairFilterContext, ProximityPairFilter}; +pub use self::pair_filter::{ContactPairFilter, PairFilterContext, ProximityPairFilter}; -pub use eagl::query::{KinematicsCategory, TrackedContact}; +pub use cdl::query::{KinematicsCategory, TrackedContact}; -pub type Contact = eagl::query::TrackedContact<ContactData>; -pub type ContactManifold = eagl::query::ContactManifold<ContactManifoldData, ContactData>; +pub type Contact = cdl::query::TrackedContact<ContactData>; +pub type ContactManifold = cdl::query::ContactManifold<ContactManifoldData, ContactData>; /// A segment shape. -pub type Segment = eagl::shape::Segment; +pub type Segment = cdl::shape::Segment; /// A cuboid shape. -pub type Cuboid = eagl::shape::Cuboid; +pub type Cuboid = cdl::shape::Cuboid; /// A triangle shape. -pub type Triangle = eagl::shape::Triangle; +pub type Triangle = cdl::shape::Triangle; /// A ball shape. -pub type Ball = eagl::shape::Ball; +pub type Ball = cdl::shape::Ball; /// A capsule shape. -pub type Capsule = eagl::shape::Capsule; +pub type Capsule = cdl::shape::Capsule; /// A heightfield shape. -pub type HeightField = eagl::shape::HeightField; +pub type HeightField = cdl::shape::HeightField; /// A cylindrical shape. #[cfg(feature = "dim3")] -pub type Cylinder = eagl::shape::Cylinder; +pub type Cylinder = cdl::shape::Cylinder; /// A cone shape. #[cfg(feature = "dim3")] -pub type Cone = eagl::shape::Cone; +pub type Cone = cdl::shape::Cone; /// An axis-aligned bounding box. -pub type AABB = eagl::bounding_volume::AABB; +pub type AABB = cdl::bounding_volume::AABB; /// A ray that can be cast against colliders. -pub type Ray = eagl::query::Ray; +pub type Ray = cdl::query::Ray; /// The intersection between a ray and a collider. -pub type RayIntersection = eagl::query::RayIntersection; +pub type RayIntersection = cdl::query::RayIntersection; /// The the projection of a point on a collider. -pub type PointProjection = eagl::query::PointProjection; +pub type PointProjection = cdl::query::PointProjection; #[derive(Copy, Clone, Hash, Debug)] /// Events occurring when two collision objects start or stop being in contact (or penetration). @@ -81,19 +80,16 @@ impl IntersectionEvent { } } -#[cfg(feature = "simd-is-enabled")] -pub(crate) use self::ball::WBall; pub(crate) use self::broad_phase_multi_sap::{BroadPhasePairEvent, ColliderPair}; pub(crate) use self::collider_set::RemovedCollider; #[cfg(feature = "simd-is-enabled")] pub(crate) use self::contact_pair::WContact; pub(crate) use self::narrow_phase::ContactManifoldIndex; -pub(crate) use eagl::partitioning::WQuadtree; +pub(crate) use cdl::partitioning::WQuadtree; //pub(crate) use self::z_order::z_cmp_floats; pub use self::interaction_groups::InteractionGroups; -pub use eagl::shape::*; +pub use cdl::shape::*; -mod ball; mod broad_phase_multi_sap; mod collider; mod collider_set; @@ -101,8 +97,6 @@ mod collider_set; mod contact_pair; mod interaction_graph; mod narrow_phase; -mod polygon; -pub(crate) mod sat; //mod z_order; mod interaction_groups; -mod user_callbacks; +mod pair_filter; |
