mirror of
https://github.com/jhasse/poly2tri.git
synced 2024-11-06 06:09:54 +01:00
Merge branch 'master' of github.com:jhasse/poly2tri
This commit is contained in:
commit
34ff2c0ec3
@ -49,7 +49,7 @@ void Sweep::Triangulate(SweepContext& tcx)
|
|||||||
|
|
||||||
void Sweep::SweepPoints(SweepContext& tcx)
|
void Sweep::SweepPoints(SweepContext& tcx)
|
||||||
{
|
{
|
||||||
for (int i = 1; i < tcx.point_count(); i++) {
|
for (size_t i = 1; i < tcx.point_count(); i++) {
|
||||||
Point& point = *tcx.GetPoint(i);
|
Point& point = *tcx.GetPoint(i);
|
||||||
Node* node = &PointEvent(tcx, point);
|
Node* node = &PointEvent(tcx, point);
|
||||||
for (unsigned int i = 0; i < point.edge_list.size(); i++) {
|
for (unsigned int i = 0; i < point.edge_list.size(); i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user