Fixed typo in the previous commit.

This commit is contained in:
bubnikv 2018-11-26 16:42:09 +01:00
parent e58bd486c2
commit 693bee7b79

View File

@ -43,7 +43,7 @@ IGL_INLINE void igl::point_simplex_squared_distance(
}; };
// Real-time collision detection, Ericson, Chapter 5 // Real-time collision detection, Ericson, Chapter 5
const auto & ClosestBaryPtPointTriangle = const auto & ClosestBaryPtPointTriangle =
[&Dot](const Point &p, const Point &a, const Point &Point b, const Point &Point c, BaryPoint& bary_out )->Point [&Dot](const Point &p, const Point &a, const Point &b, const Point &c, BaryPoint& bary_out )->Point
{ {
// Check if P in vertex region outside A // Check if P in vertex region outside A
Vector ab = b - a; Vector ab = b - a;