removing template arguments to swap, it hurts msvc

This commit is contained in:
T.Alderighi 2021-12-13 10:08:54 +01:00
parent fcc4a3bcb5
commit a85534cc46
1 changed files with 386 additions and 386 deletions

View File

@ -238,7 +238,7 @@ namespace vcg {
///then text convex ///then text convex
if (!Convex(p0,p1,p2)) if (!Convex(p0,p1,p2))
std::swap<Point2<SCALAR_TYPE> >(p1,p2); std::swap(p1,p2);
return((Convex(p,p0,p1))&&(Convex(p,p1,p2))&&(Convex(p,p2,p0))); return((Convex(p,p0,p1))&&(Convex(p,p1,p2))&&(Convex(p,p2,p0)));
//return((Convex(p,p0,p1))&&(Convex(p,p1,p2))&&(Convex(p,p2,p0))); //return((Convex(p,p0,p1))&&(Convex(p,p1,p2))&&(Convex(p,p2,p0)));
} }