Skip to content

Commit

Permalink
Update face_op.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
pca006132 authored Aug 4, 2023
1 parent 4c7e1fa commit 7a022d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manifold/src/face_op.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ PolygonsIdx Manifold::Impl::Face2Polygons(int face, glm::mat3x2 projection,
const int firstEdge = faceEdge[face];
const int lastEdge = faceEdge[face + 1];

std::unordered_map<int, int> vert_edge;
std::map<int, int> vert_edge;
for (int edge = firstEdge; edge < lastEdge; ++edge) {
const bool inserted =
vert_edge.emplace(std::make_pair(halfedge_[edge].startVert, edge))
Expand Down

0 comments on commit 7a022d8

Please sign in to comment.