fix bug in polygon_clipper coincident vertice detection

This commit is contained in:
Dane Springmeyer 2013-09-24 14:06:16 -07:00
parent f76b020e5e
commit 6e4c911bb6

View file

@ -166,7 +166,7 @@ private:
continue; continue;
} }
prev_x = x; prev_x = x;
prev_x = y; prev_y = y;
if (ring_count == 1) if (ring_count == 1)
{ {
append(subject_poly, make<point_2d>(x,y)); append(subject_poly, make<point_2d>(x,y));