From b1ac987d2fb6edf25e33641e0872d07ec9b702da Mon Sep 17 00:00:00 2001 From: Mikolaj Wielgus Date: Sat, 14 Oct 2023 04:46:16 +0000 Subject: [PATCH] shape: Temporarily disable bend-seg intersection as it's bugged --- src/shape.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shape.rs b/src/shape.rs index 2982cdf..313889e 100644 --- a/src/shape.rs +++ b/src/shape.rs @@ -136,7 +136,7 @@ impl Shape { Shape::Dot(..) => unreachable!(), Shape::Seg(other) => seg.polygon().intersects(&other.polygon()), Shape::Bend(other) => { - for segment in seg.polygon().exterior().lines() { + /*for segment in seg.polygon().exterior().lines() { let inner_circle = other.inner_circle(); let outer_circle = other.outer_circle(); @@ -151,7 +151,7 @@ impl Shape { return true; } } - } + }*/ false }