1
0
Fork 0

Revert "Sign bug in calc_point_inside()"

This reverts commit 4797373664b97ca48caa5f0eeaa448225545aa1c.
This commit is contained in:
Ralf Gerlich 2008-08-25 11:33:06 +02:00
parent aa03c7c2f5
commit c9cd0b1758

View file

@ -667,7 +667,7 @@ static void calc_point_inside( TGContourNode *node, TGPolygon &p ) {
if (diff<=8.0*SG_EPSILON) { if (diff<=8.0*SG_EPSILON) {
continue; continue;
} }
yline=point_it->y()-diff/2.0; yline=point_it->y()+diff/2.0;
// cout << "calc_point_inside() " << allpoints.size() << " points "; // cout << "calc_point_inside() " << allpoints.size() << " points ";
// copy(allpoints.begin(), allpoints.end(), ostream_iterator<Point3D>(cout, " ")); // copy(allpoints.begin(), allpoints.end(), ostream_iterator<Point3D>(cout, " "));