Skip to content

Commit

Permalink
remove face index on HalfEdge
Browse files Browse the repository at this point in the history
  • Loading branch information
wtholliday committed Sep 26, 2024
1 parent 7b3e6e5 commit c43574a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manifold/src/sort.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ void Manifold::Impl::Finish() {
return std::min(a, b) < 0 ? -1 : std::max(a, b);
};
int face = 0;
Halfedge extrema = {0, 0, 0, 0};
Halfedge extrema = {0, 0, 0};
for (size_t i = 0; i < halfedge_.size(); i++) {
Halfedge e = halfedge_[i];
if (!e.IsForward()) std::swap(e.startVert, e.endVert);
Expand Down

0 comments on commit c43574a

Please sign in to comment.