Skip to content

Commit

Permalink
improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
ciscorn committed Apr 12, 2024
1 parent 95abc13 commit 0032bae
Show file tree
Hide file tree
Showing 2 changed files with 604 additions and 597 deletions.
2 changes: 1 addition & 1 deletion examples/example.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fn load_fixture(name: &str, num_triangles: usize, expected_deviation: f64) {
}

// check
assert!(triangles.len() == num_triangles);
assert!(triangles.len() == num_triangles * 3);
if !triangles.is_empty() {
assert!(
deviation(vertices.iter().copied(), &hole_indices, &triangles) <= expected_deviation
Expand Down
Loading

0 comments on commit 0032bae

Please sign in to comment.