Revert "Fix rounding bug in camera projection (#16828)"#17592
Merged
alice-i-cecile merged 1 commit intobevyengine:mainfrom Feb 2, 2025
Merged
Revert "Fix rounding bug in camera projection (#16828)"#17592alice-i-cecile merged 1 commit intobevyengine:mainfrom
alice-i-cecile merged 1 commit intobevyengine:mainfrom
Conversation
This reverts commit ae52222.
Member
|
It would be great if more people could confirm they don't reproduce the issues mentioned in #16773 with this PR. This may be config dependent |
mockersf
approved these changes
Jan 28, 2025
Contributor
Author
|
if it may be config dependent than it is best that i leave this here |
Member
|
I would like to merge this if we don't get more feedback, people will probably react more if they see the issue back in |
mrchantey
pushed a commit
to mrchantey/bevy
that referenced
this pull request
Feb 4, 2025
…vyengine#17592) This reverts commit ae52222. # Objective Fixes bevyengine#16856 ## Solution Remove rounding from `OrthographicProjection::update`, which was causing the center of the orthographic projection to be off center. ## Testing Ran the examples mentioned on bevyengine#16856 and code from bevyengine#16773 ## Showcase `orthographic` example  `projection_zoom` example  `camera_sub_view` example  `custom_primitives` example  bevyengine#16773 code 
holmes-software
pushed a commit
to holmes-software/bevy
that referenced
this pull request
Feb 5, 2025
…vyengine#17592) This reverts commit ae52222. # Objective Fixes bevyengine#16856 ## Solution Remove rounding from `OrthographicProjection::update`, which was causing the center of the orthographic projection to be off center. ## Testing Ran the examples mentioned on bevyengine#16856 and code from bevyengine#16773 ## Showcase `orthographic` example  `projection_zoom` example  `camera_sub_view` example  `custom_primitives` example  bevyengine#16773 code 
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This reverts commit ae52222.
Objective
Fixes #16856
Solution
Remove rounding from
OrthographicProjection::update, which was causing the center of the orthographic projection to be off center.Testing
Ran the examples mentioned on #16856 and code from #16773
Showcase
orthographicexampleprojection_zoomexamplecamera_sub_viewexamplecustom_primitivesexample#16773 code
