Skip to content

Commit

Permalink
no need anymore for a shift
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Aug 16, 2023
1 parent 6e58a98 commit f12a9d2
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions tests/triangulation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,27 @@ fn is_in_mesh_4_obstacles() {
]);
triangulation.add_obstacle(vec![
vec2(2.5, 2.5),
vec2(2.5, 4.5),
vec2(4.5, 4.5),
vec2(4.5, 2.5),
vec2(2.5, 5.0),
vec2(5.0, 5.0),
vec2(5.0, 2.5),
]);
triangulation.add_obstacle(vec![
vec2(2.5, 4.5),
vec2(2.5, 5.0),
vec2(2.5, 7.5),
vec2(4.5, 7.5),
vec2(4.5, 4.5),
vec2(5.0, 7.5),
vec2(5.0, 5.0),
]);
triangulation.add_obstacle(vec![
vec2(4.5, 2.5),
vec2(4.5, 4.5),
vec2(7.5, 4.5),
vec2(5.0, 2.5),
vec2(5.0, 5.0),
vec2(7.5, 5.0),
vec2(7.5, 2.5),
]);
triangulation.add_obstacle(vec![
vec2(4.5, 4.5),
vec2(4.5, 7.5),
vec2(5.0, 5.0),
vec2(5.0, 7.5),
vec2(7.5, 7.5),
vec2(7.5, 4.5),
vec2(7.5, 5.0),
]);
let mesh: Mesh = triangulation.into();
for i in 0..10 {
Expand Down

0 comments on commit f12a9d2

Please sign in to comment.