Commit dff9201b authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Remove shapeDistance<Capsule, Capsule> template specialization.

parent ce070875
......@@ -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 ();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment