1
0
mirror of https://github.com/jhasse/poly2tri.git synced 2025-04-28 20:05:43 +02:00

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

@ -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_);
} }