mirror of
https://github.com/jhasse/poly2tri.git
synced 2024-11-30 01:03:30 +01:00
fixed SweepContext ctor
This commit is contained in:
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_);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user