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

Create a function for transforming world coordinates to screen coordinates #135

Open
malcx95 opened this issue Mar 19, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@malcx95
Copy link
Collaborator

malcx95 commented Mar 19, 2020

Create a function in map.rs to handle coordinate transformation and wrapping around, as it's really messy for all the draw functions to do that manually.

@malcx95 malcx95 added the enhancement New feature or request label Mar 19, 2020
@Emiluren
Copy link
Collaborator

8c40d75 Adds a world_to_screen_position closure inside Map::draw

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

No branches or pull requests

2 participants