forked from williamngan/pts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…illiamngan#214 2. `Bound` stores top left and bottom right `Pt`s separately. Close williamngan#213 For 2, top left and bottom right `Pt`s were separate from `Pt`s that are indexable using integers. This causes that, when a calculation method such as `add` inherited from `Group` is used on a `Bound`, the `Bound`'s corner `Pts`s are sometimes not updated, as `Group` uses integer indices for getting the member `Pt`s. In order to fix this, the separate members `_topLeft` and `_bottomRight` are removed from `Bound`. `topLeft` and `bottomRight` are now just getters for integer-indexable `Pt`s.
- Loading branch information
1 parent
47de4b7
commit 4051c23
Showing
8 changed files
with
59 additions
and
95 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
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.