Skip to content

Commit

Permalink
fix(lib): typo in core module :-(
Browse files Browse the repository at this point in the history
  • Loading branch information
jeertmans committed Oct 3, 2024
1 parent 0f9d466 commit dc4c81d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion differt-core/src/geometry/triangle_mesh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ impl TriangleMesh {
x.append(y);
}

let offset = self.vertices.len();
let offset = self.triangles.len();

Check warning on line 245 in differt-core/src/geometry/triangle_mesh.rs

View check run for this annotation

Codecov / codecov/patch

differt-core/src/geometry/triangle_mesh.rs#L245

Added line #L245 was not covered by tests
self.vertices.append(&mut other.vertices);

self.triangles.reserve(other.triangles.len());
Expand Down

0 comments on commit dc4c81d

Please sign in to comment.