(/) ( manhattan/A *) . / , , .
A - /.
:
: --------- > S + N ( )
Second / Midline / s: Locked Point ----------> S + N (before another locked point) is repeated again (new line / segment) until the line of sight is set to the target.
Last line: locked point -------------> Target
Connect all the lines and you have a much shorter shortest path. You can do it again, but vice versa, to add another precision so that the line of sight starts from the target before the start.
source
share