Skip to content

Commit

Permalink
fix wrong orientation in createCone function
Browse files Browse the repository at this point in the history
  • Loading branch information
alemuntoni committed Dec 26, 2023
1 parent b0a1a39 commit 23b8c75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/vclib/algorithms/create/cone.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ MeshType createCone(
}
else {
for (uint i = 0; i < subdivisions; ++i) {
mesh.addFace(1, b1 + i, b1 + (i + 1) % subdivisions);
mesh.addFace(1, b1 + (i + 1) % subdivisions, b1 + i);
}
}

Expand Down

0 comments on commit 23b8c75

Please sign in to comment.