Skip to content

Commit

Permalink
Merge pull request #218 from chaoticgd/fixtristrip
Browse files Browse the repository at this point in the history
Fix problem with the mesh graph code
  • Loading branch information
chaoticgd committed Nov 29, 2022
2 parents 5efd7dc + 311df70 commit 85b9b02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/mesh_graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ MeshGraph::MeshGraph(const Mesh& mesh) {
EdgeInfo& info = _edges.emplace_back();
info.v[0] = v2;
info.v[1] = v3;
vertex_at(v0).edges.emplace_back(index);
vertex_at(v1).edges.emplace_back(index);
vertex_at(v2).edges.emplace_back(index);
vertex_at(v3).edges.emplace_back(index);
}
}

Expand Down

0 comments on commit 85b9b02

Please sign in to comment.