mirror of
https://github.com/jhasse/poly2tri.git
synced 2024-11-26 15:26:12 +01:00
Rename local index for readability
This commit is contained in:
parent
3e583f5eeb
commit
7f8c4c5e4c
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user