mirror of
https://github.com/jhasse/poly2tri.git
synced 2024-11-30 01:03:30 +01:00
remove unnecessary ctors and use initializer list
This commit is contained in:
parent
856acda129
commit
58793eda10
@ -34,13 +34,8 @@
|
||||
|
||||
namespace p2t {
|
||||
|
||||
SweepContext::SweepContext(std::vector<Point*> polyline)
|
||||
SweepContext::SweepContext(std::vector<Point*> polyline) : points_(polyline)
|
||||
{
|
||||
basin = Basin();
|
||||
edge_event = EdgeEvent();
|
||||
|
||||
points_ = polyline;
|
||||
|
||||
InitEdges(points_);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user