Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Jul 17, 2024
1 parent e11ec42 commit 9a524b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ impl Mesh {
/// marked as neighbors in both layers.
pub fn stitch_at_points(&mut self, stitch_points: Vec<((u8, u8), Vec<Vec2>)>) {
// update indexes of layers
for (layer_index, layer) in self.layers.iter_mut().enumerate().skip(0) {
for (layer_index, layer) in self.layers.iter_mut().enumerate().skip(1) {
for vertex in layer.vertices.iter_mut() {
for polygon_index in vertex.polygons.iter_mut() {
if *polygon_index != -1 {
Expand Down

0 comments on commit 9a524b5

Please sign in to comment.