From 0ac464c834ee43b4a6e2497c9956220009540823 Mon Sep 17 00:00:00 2001 From: numzero Date: Tue, 7 May 2024 15:31:24 +0300 Subject: [PATCH] Fix! --- src/bin/flat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/flat.rs b/src/bin/flat.rs index c5e22ad..a13bba0 100644 --- a/src/bin/flat.rs +++ b/src/bin/flat.rs @@ -322,7 +322,7 @@ impl boundary::Boundary for Outside { if dist <= limit { let pt = base + dist * dir; return match side { - 1 | 5 => Some((boundary::Id(2), vec2(pt.x, self.space.u(pt.y)), vec2(dir.x, self.space.du(pt.x, dir.y)))), + 1 | 5 => Some((boundary::Id(2), vec2(pt.x, self.space.u(pt.y)), vec2(dir.x, self.space.du(pt.y, dir.y)))), _ => Some((boundary::Id(1), pt, dir)), }; }