diff options
-rw-r--r-- | problem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/problem.cpp b/problem.cpp index 5f774fd..34469c7 100644 --- a/problem.cpp +++ b/problem.cpp @@ -66,6 +66,7 @@ bool hilare_a_mvt::intersects(const obstacle &o) const { return false; } + if (o.c.r >= segment(from.pos(),to.pos).dist(o.c.c))return true ; return false; } |