From 150f81f03ba91691ba953b85020c9ab0e0a850f8 Mon Sep 17 00:00:00 2001 From: numzero Date: Sun, 30 Jun 2024 12:34:00 +0300 Subject: [PATCH] Bugfix! --- src/bin/flat/tube/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/flat/tube/mod.rs b/src/bin/flat/tube/mod.rs index 0dee05f..649b59a 100644 --- a/src/bin/flat/tube/mod.rs +++ b/src/bin/flat/tube/mod.rs @@ -334,7 +334,7 @@ mod coords { check_range("flat", pos_flat, range_flat, "global", pos_global, range_global); assert_eq_at!(pos_flat, region.flat_to_global(Location { pos: pos_flat, rot: Mat2::IDENTITY }).pos, pos_global); assert_eq_at!(pos_flat, region.global_to_flat(pos_global), pos_flat); - assert_eq_at!(pos_global, region.global_to_flat(region.flat_to_global(Location { pos: pos_global, rot: Mat2::IDENTITY })).rot, Mat2::IDENTITY); + assert_eq_at!(pos_flat, region.global_to_flat(region.flat_to_global(Location { pos: pos_global, rot: Mat2::IDENTITY })).rot, Mat2::IDENTITY); } } }