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

FovType must be configurable by the user #7

Open
fabio-t opened this issue Nov 6, 2017 · 0 comments
Open

FovType must be configurable by the user #7

fabio-t opened this issue Nov 6, 2017 · 0 comments
Assignees
Labels

Comments

@fabio-t
Copy link
Owner

fabio-t commented Nov 6, 2017

Right now, Fov algorithms consider only a circle around the starting point, while Los algorithms consider a square. AStar considers a square, too.

Instead of trying to make this completely consistent, or to add yet more arguments to the contract, we should simply make this behaviour configurable.

  • SQUARE fov implies manhattan distance

  • CIRCLE fov implies "pseudo euclidean" distance (eg, floored and converted to int)

@fabio-t fabio-t self-assigned this Nov 6, 2017
@fabio-t fabio-t added the feature label Nov 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant