From 3c61a57bc6da6f7817bde7e63fef26360fb5cdf0 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Wed, 15 Jun 2022 10:30:53 -0500 Subject: [PATCH] cargo fmt --- src/pathfinding.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pathfinding.rs b/src/pathfinding.rs index 8efcc6f..934235e 100644 --- a/src/pathfinding.rs +++ b/src/pathfinding.rs @@ -75,7 +75,8 @@ fn find_path_for_shape( if map.at(p.0 as usize, p.1 as usize).is_walkable() { for tile in map.get_available_exits(p.0 as usize, p.1 as usize) { let mut should_push = true; - let shape_pos = Isometry2::new(Vector2::new(tile.0 as f32 + 0.5, tile.1 as f32 + 0.5), 0.); + let shape_pos = + Isometry2::new(Vector2::new(tile.0 as f32 + 0.5, tile.1 as f32 + 0.5), 0.); query_pipeline.intersections_with_shape( &collider_set, &shape_pos,