-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Fix Projection::invert
for orthographic projection
#95303
Conversation
Do we have tests for this? If not, this PR should add some |
Projection::invert
for orthographic projection
65c8ccc
to
2f08b7d
Compare
Added a few tests too |
2f08b7d
to
3aa46b9
Compare
Made all expressions into their own lines and added back the accidentally removed test. |
3aa46b9
to
3efcb0c
Compare
Testing locally and I can confirm that this fixes the issue when using an orthographic projection. I also tested performance. With a debug build this version is quite a bit faster than the old version. With a release build there is no difference in performance. So we just need to decide what to do about the licensing, and then this should be fine to merge for 4.4 |
Relates to godotengine/godot#68878, specially when using orthographic projection. Also adds some tests. Adapted from godotengine/godot#95303 Co-authored-by: Álex Román <eirexe@eirteam.moe>
Relates to godotengine/godot#68878, specially when using orthographic projection. Also adds some tests. Adapted from godotengine/godot#95303
Relates to godotengine/godot#68878, specially when using orthographic projection. Also adds some tests. Adapted from godotengine/godot#95303
Relates to godotengine/godot#68878, specially when using orthographic projection. Also adds some tests. Adapted from godotengine/godot#95303 (cherry picked from commit 0773028)
3efcb0c
to
2744d32
Compare
Fixes godotengine#68878, specially when using orthographic projection. Also adds some tests.
2744d32
to
02b2efc
Compare
Thanks! |
Fixes #68878, specially when using orthographic projection.
Replaces our invert implementation with mesa's, which seems to work fine.