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

Fixed an issue where (non-square) toroidal grids would wrap around PA… #6

Closed
wants to merge 1 commit into from
Closed

Conversation

Oliver-Binns
Copy link

…ST the origin.

@Oliver-Binns
Copy link
Author

While the radius points should return to 0 when wrapped around the edge of the grid, if the grid is not square, (i.e. height != width) then this wrap is calculated incorrectly:
screen shot 2018-04-11 at 23 36 41

@eclab
Copy link
Owner

eclab commented Apr 23, 2018

I have made commits which I incorporated your changes but also extended it to the 3D classes, which had the same non-square issue. Please verify if it appears to be right, and if so, I'll close the two issues.

@Oliver-Binns
Copy link
Author

Looks good, feel free to close the issues.
Many thanks!

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.

3 participants