Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add option for clearance in all directions #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Goober5000
Copy link

The existing implementation of clearance only checks for obstacles along one diagonal. This works for the problem as defined in the reference material, but it is not suitable for situations where one needs to check for clearance in a radius around the walkable point. To address that need, this PR adds an option to check for clearance in all directions. This change is backwards-compatible and preserves the existing check as the default behavior.

The existing implementation of clearance only checks for obstacles along one diagonal.  This works for the problem as defined in the reference material, but it is not suitable for situations where one needs to check for clearance in a radius around the walkable point.  To address that need, this PR adds an option to check for clearance in all directions.  This change is backwards-compatible and preserves the existing check as the default behavior.
@mokalux
Copy link

mokalux commented Dec 3, 2023

for those wondering it seems this PR was merged

@Goober5000
Copy link
Author

Apparently not, according to the commit log. See related comment on PR 63.

@mokalux
Copy link

mokalux commented Dec 4, 2023

that is weird because in my version of jumper your PR is present! The author was posting his progress on some forum (Gideros in my case) and I may have got an updated version different from GH!

sorry for the inconvenience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants