fixed SweepContext ctor

This commit is contained in:
Mason Green 2013-05-01 21:46:31 -04:00 committed by Jan Niklas Hasse
parent e662a5c446
commit 91d1203c3a

View File

@ -34,7 +34,13 @@
namespace p2t { namespace p2t {
SweepContext::SweepContext(std::vector<Point*> polyline) : points_(polyline) SweepContext::SweepContext(std::vector<Point*> polyline) : points_(polyline),
front_(0),
head_(0),
tail_(0),
af_head_(0),
af_middle_(0),
af_tail_(0)
{ {
InitEdges(points_); InitEdges(points_);
} }