Sign bug in calc_point_inside()
This commit is contained in:
parent
8e0e2b6cef
commit
4d1fafa2b6
1 changed files with 1 additions and 1 deletions
|
@ -681,7 +681,7 @@ static void calc_point_inside( TGContourNode *node, TGPolygon &p ) {
|
|||
if (diff<=8.0*SG_EPSILON) {
|
||||
continue;
|
||||
}
|
||||
yline=point_it->y()+diff/2.0;
|
||||
yline=point_it->y()-diff/2.0;
|
||||
|
||||
// cout << "calc_point_inside() " << allpoints.size() << " points ";
|
||||
// copy(allpoints.begin(), allpoints.end(), ostream_iterator<Point3D>(cout, " "));
|
||||
|
|
Loading…
Reference in a new issue