Created
November 8, 2017 05:07
-
-
Save tcmoore3/7837730950b4624ffdc7b6ac3b218d88 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# how to wrap a single coordinate | |
x_wrapped = (x - box.mins[0]) % box.lenghts[0] + box.mins[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment