commented not yet used functions -> remove if really not used
This commit is contained in:
parent
c3518c883f
commit
69b05cc335
@ -56,6 +56,7 @@ static float pDistance(float x, float y, float x1, float y1, float x2, float y2)
|
|||||||
//return sqrt(dx * dx + dy * dy);
|
//return sqrt(dx * dx + dy * dy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* not used anymore... or yet
|
||||||
static bool SortForMinXMaxY (const Point& a, const Point& b)
|
static bool SortForMinXMaxY (const Point& a, const Point& b)
|
||||||
{
|
{
|
||||||
if (a.x() != b.x())
|
if (a.x() != b.x())
|
||||||
@ -87,5 +88,5 @@ static std::pair<Point, Point> getMinMaxX(std::vector<Point>& pts)
|
|||||||
std::sort(pts.begin(), pts.end(), SortForMinXMaxY);
|
std::sort(pts.begin(), pts.end(), SortForMinXMaxY);
|
||||||
|
|
||||||
return std::make_pair(pts[0], pts[pts.size() - 1]);
|
return std::make_pair(pts[0], pts[pts.size() - 1]);
|
||||||
}
|
}*/
|
||||||
#endif // UTILITY_H
|
#endif // UTILITY_H
|
Loading…
x
Reference in New Issue
Block a user