Skip to content

Give Projectors Project and Unproject methods. #2082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Apr 28, 2024

Conversation

DragonMoffon
Copy link
Collaborator

These methods are used to swap between world coordinates and screen coordinates.

pushfoo and others added 6 commits April 28, 2024 22:33
* 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
sadly it is harder to make generic than anticipated
…they can be reliably updated when viewport is changed
@einarf einarf merged commit 0ad8f85 into pythonarcade:development Apr 28, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants