-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make generic matrix generation methods and make projectors use them * Correct typing issue in generate_orthographic_matrix * updating unit tests and improving orthographic projector `unproject` method * Add Project and Unproject methods * linting corrections * make all Projectors `unproject` return a 3-tuple * Touchup touchups (#5) * Add docstrings for Projector, Projector.use, and Project.activate * Add docstring for Projection Protocol * Move PerspectiveProjector.activate onto Projector protocol & subclass * Replace Orthographic Projector's activate with Protocol default implementation * Moving activate back into projectors sadly it is harder to make generic than anticipated * Move `current_camera` and `default_camera` to the `ArcadeContext` so they can be reliably updated when viewport is changed * Typing extensions for the win * Typing extensions for the win: revengance * Linty Linty --------- Co-authored-by: Paul <[email protected]>
- Loading branch information
1 parent
5bb27ec
commit 0ad8f85
Showing
11 changed files
with
492 additions
and
163 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
Oops, something went wrong.