Skip to content

Commit

Permalink
Rename local index for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-dejoue committed Aug 6, 2020
1 parent 3e583f5 commit 7f8c4c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions poly2tri/sweep/sweep.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ void Sweep::SweepPoints(SweepContext& tcx)
for (size_t i = 1; i < tcx.point_count(); i++) {
Point& point = *tcx.GetPoint(i);
Node* node = &PointEvent(tcx, point);
for (unsigned int i = 0; i < point.edge_list.size(); i++) {
EdgeEvent(tcx, point.edge_list[i], node);
for (unsigned int j = 0; j < point.edge_list.size(); j++) {
EdgeEvent(tcx, point.edge_list[j], node);
}
}
}
Expand Down

0 comments on commit 7f8c4c5

Please sign in to comment.