Skip to content

Commit

Permalink
small
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Aug 8, 2023
1 parent 7ddcdb2 commit 759f0a9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/input/triangulation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,7 @@ impl From<Triangulation> for Mesh {
})
.collect::<VecDeque<_>>();
while point_polygons[0] == -1 {
point_polygons.pop_front();
point_polygons.push_back(-1);
point_polygons.rotate_left(1);
}
let mut point_polygons: Vec<_> = point_polygons.into();
point_polygons.dedup();
Expand Down

0 comments on commit 759f0a9

Please sign in to comment.