-
-
Couldn't load subscription status.
- Fork 4.2k
Closed
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorC-Code-QualityA section of code that is hard to understand or changeA section of code that is hard to understand or changeS-Needs-SMEDecision or review from an SME is requiredDecision or review from an SME is requiredX-ControversialThere is active debate or serious implications around merging this PRThere is active debate or serious implications around merging this PR
Milestone
Description
Bevy version
12.0
Problem
The naming of the view and inverse_view matrices in the View struct are the opposite of what those names mean everywhere else.
A view matrix transforms from world to view space. The "view matrix" in the View struct transforms from view to world space.
bevy/crates/bevy_render/src/view/mod.rs
Line 381 in a4c2728
| let view = camera.transform.compute_matrix(); |
Metadata
Metadata
Assignees
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorC-Code-QualityA section of code that is hard to understand or changeA section of code that is hard to understand or changeS-Needs-SMEDecision or review from an SME is requiredDecision or review from an SME is requiredX-ControversialThere is active debate or serious implications around merging this PRThere is active debate or serious implications around merging this PR