shape: Temporarily disable bend-seg intersection as it's bugged

This commit is contained in:
Mikolaj Wielgus 2023-10-14 04:46:16 +00:00
parent bfbad933e2
commit b1ac987d2f
1 changed files with 2 additions and 2 deletions

View File

@ -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
}