diff options
| author | Crozet Sébastien <developer@crozet.re> | 2020-12-17 10:24:36 +0100 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2020-12-29 11:31:00 +0100 |
| commit | e231bacec608fa5efd24f7a876572927dbd6c9c4 (patch) | |
| tree | 596f0b6a1fc666586ffcd71d07a39a7c182c6ef8 /src/geometry/proximity_detector | |
| parent | cc6d1b973002b4d366bc81ec6bf9e8240ad7b404 (diff) | |
| download | rapier-e231bacec608fa5efd24f7a876572927dbd6c9c4.tar.gz rapier-e231bacec608fa5efd24f7a876572927dbd6c9c4.tar.bz2 rapier-e231bacec608fa5efd24f7a876572927dbd6c9c4.zip | |
Move all the contact manifold computations out of Rapier.
Diffstat (limited to 'src/geometry/proximity_detector')
4 files changed, 6 insertions, 6 deletions
diff --git a/src/geometry/proximity_detector/ball_convex_proximity_detector.rs b/src/geometry/proximity_detector/ball_convex_proximity_detector.rs index 5c1a105..19ead5c 100644 --- a/src/geometry/proximity_detector/ball_convex_proximity_detector.rs +++ b/src/geometry/proximity_detector/ball_convex_proximity_detector.rs @@ -1,7 +1,7 @@ use crate::geometry::proximity_detector::PrimitiveProximityDetectionContext; use crate::geometry::{Ball, Proximity}; use crate::math::Isometry; -use buckler::query::PointQuery; +use eagl::query::PointQuery; pub fn detect_proximity_ball_convex(ctxt: &mut PrimitiveProximityDetectionContext) -> Proximity { if let Some(ball1) = ctxt.shape1.as_ball() { diff --git a/src/geometry/proximity_detector/cuboid_cuboid_proximity_detector.rs b/src/geometry/proximity_detector/cuboid_cuboid_proximity_detector.rs index 93a5103..b43f53d 100644 --- a/src/geometry/proximity_detector/cuboid_cuboid_proximity_detector.rs +++ b/src/geometry/proximity_detector/cuboid_cuboid_proximity_detector.rs @@ -1,8 +1,8 @@ use crate::geometry::proximity_detector::PrimitiveProximityDetectionContext; use crate::geometry::Proximity; use crate::math::Isometry; -use buckler::query::sat; -use buckler::shape::Cuboid; +use eagl::query::sat; +use eagl::shape::Cuboid; pub fn detect_proximity_cuboid_cuboid(ctxt: &mut PrimitiveProximityDetectionContext) -> Proximity { if let (Some(cube1), Some(cube2)) = (ctxt.shape1.as_cuboid(), ctxt.shape2.as_cuboid()) { diff --git a/src/geometry/proximity_detector/cuboid_triangle_proximity_detector.rs b/src/geometry/proximity_detector/cuboid_triangle_proximity_detector.rs index 922855a..5ac12a8 100644 --- a/src/geometry/proximity_detector/cuboid_triangle_proximity_detector.rs +++ b/src/geometry/proximity_detector/cuboid_triangle_proximity_detector.rs @@ -1,7 +1,7 @@ use crate::geometry::proximity_detector::PrimitiveProximityDetectionContext; use crate::geometry::{Cuboid, Proximity, Triangle}; use crate::math::Isometry; -use buckler::query::sat; +use eagl::query::sat; pub fn detect_proximity_cuboid_triangle( ctxt: &mut PrimitiveProximityDetectionContext, diff --git a/src/geometry/proximity_detector/trimesh_shape_proximity_detector.rs b/src/geometry/proximity_detector/trimesh_shape_proximity_detector.rs index dbb20f5..961de3b 100644 --- a/src/geometry/proximity_detector/trimesh_shape_proximity_detector.rs +++ b/src/geometry/proximity_detector/trimesh_shape_proximity_detector.rs @@ -1,4 +1,4 @@ -use crate::buckler::bounding_volume::{BoundingVolume, AABB}; +use crate::eagl::bounding_volume::{BoundingVolume, AABB}; use crate::geometry::proximity_detector::{ PrimitiveProximityDetectionContext, ProximityDetectionContext, }; @@ -87,7 +87,7 @@ fn do_detect_proximity( for triangle_id in new_interferences.iter() { if *triangle_id >= trimesh1.num_triangles() as u32 { - // Because of SIMD padding, the broad-phase may return tiangle indices greater + // Because of SIMD padding, the broad-phase may return triangle indices greater // than the max. continue; } |
