mirror of https://codeberg.org/topola/topola.git
shape: Temporarily disable bend-seg intersection as it's bugged
This commit is contained in:
parent
bfbad933e2
commit
b1ac987d2f
|
|
@ -136,7 +136,7 @@ impl Shape {
|
||||||
Shape::Dot(..) => unreachable!(),
|
Shape::Dot(..) => unreachable!(),
|
||||||
Shape::Seg(other) => seg.polygon().intersects(&other.polygon()),
|
Shape::Seg(other) => seg.polygon().intersects(&other.polygon()),
|
||||||
Shape::Bend(other) => {
|
Shape::Bend(other) => {
|
||||||
for segment in seg.polygon().exterior().lines() {
|
/*for segment in seg.polygon().exterior().lines() {
|
||||||
let inner_circle = other.inner_circle();
|
let inner_circle = other.inner_circle();
|
||||||
let outer_circle = other.outer_circle();
|
let outer_circle = other.outer_circle();
|
||||||
|
|
||||||
|
|
@ -151,7 +151,7 @@ impl Shape {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
|
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue