| 74 | | if (outside(dists[0]) && outside(dists[1]) && outside(dists[2]) && outside(dists[3])) { |
|---|
| 75 | | if (df.same_sideclass(new_tl, new_br, (float f) { if (abs(f) > 5f) return (f>0)?-float.infinity:float.infinity; else return f; })) { |
|---|
| 76 | | line(new_tl.tuple, new_br.tuple, Box=Blue, Fill=Black); |
|---|
| 77 | | return; |
|---|
| 78 | | } |
|---|
| | 73 | if (df.same_sideclass(new_tl, new_br, (float f) { if (abs(f) >= 6f) return (f>0)?-float.infinity:float.infinity; else return f; })) { |
|---|
| | 74 | line(new_tl.tuple, new_br.tuple, Fill=color(dists[0])); |
|---|
| | 75 | return; |
|---|