From dff9201bf3ddb5b1efe5f1bb6ac63908b09ba7b6 Mon Sep 17 00:00:00 2001 From: Florent Lamiraux <florent@laas.fr> Date: Mon, 16 Jun 2014 16:15:37 +0200 Subject: [PATCH] Remove shapeDistance<Capsule, Capsule> template specialization. --- src/narrowphase/narrowphase.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/narrowphase/narrowphase.cpp b/src/narrowphase/narrowphase.cpp index 0fb235b9..0651ec11 100644 --- a/src/narrowphase/narrowphase.cpp +++ b/src/narrowphase/narrowphase.cpp @@ -46,7 +46,7 @@ namespace fcl namespace details { - +#if 0 // Clamp n to lie within the range [min, max] float clamp(float n, float min, float max) { if (n < min) return min; @@ -170,7 +170,7 @@ namespace details return true; } - +#endif // Compute the point on a line segment that is the closest point on the @@ -2929,7 +2929,7 @@ bool GJKSolver_libccd::shapeDistance<Capsule, Capsule>(const Capsule& s1, const const Capsule& s2, const Transform3f& tf2, FCL_REAL* dist, Vec3f* p1, Vec3f* p2) const { - return details::capsuleCapsuleDistance(s1, tf1, s2, tf2, dist, p1, p2); + abort (); } @@ -3313,7 +3313,7 @@ bool GJKSolver_indep::shapeDistance<Capsule, Capsule>(const Capsule& s1, const T const Capsule& s2, const Transform3f& tf2, FCL_REAL* dist, Vec3f* p1, Vec3f* p2) const { - return details::capsuleCapsuleDistance(s1, tf1, s2, tf2, dist, p1, p2); + abort (); } -- GitLab