Created
July 8, 2012 23:56
-
-
Save jhgaylor/3073483 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| if self.point.x < pt.x: | |
| #we know we need to be in the south | |
| if self.point.y < pt.y: | |
| #recurse SW | |
| pass | |
| else: | |
| #recurse SW | |
| pass | |
| else: | |
| #we know we need to be in the north | |
| if self.point.y < pt.y: | |
| #recurse NW | |
| pass | |
| else: | |
| #recurse NE | |
| pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment