-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
doc(render): fix incorrectly transposed view matrix docs #19317
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
Conversation
crates/bevy_render/src/view/mod.rs
Outdated
/// ⎣ cw / w ch / h near / d 1 ⎦ | ||
/// ⎡ 2 / w 0 0 cw / w ⎤ | ||
/// ⎢ 0 2 / h 0 ch / h ⎥ | ||
/// ⎢ 0 0 1 / d near / d ⎥ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know this codebase, but a quick check: is this row correct given the swapping of near and far here https://github.com/bevyengine/bevy/blob/main/crates/bevy_render/src/camera/projection.rs#L561-L562 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch, thanks!
Objective
Solution
Testing