-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(grid): rectangle() traverser and grid method now accept opposing…
… corners as arguments The existing rectangleFromOpposingCorners() Grid method only worked for top left and bottom right corners. First I fixed that it could handle any opposing corners (so also top right and bottom left) in any order and then moved that to the rectangle traverser so that the grid method only needs to delegate.
- Loading branch information
1 parent
3e0ca95
commit b8bab92
Showing
3 changed files
with
75 additions
and
42 deletions.
There are no files selected for viewing
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
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
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