Skip to content
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

[core] rcamera bugfix - messed up orientation #2905

Merged
merged 1 commit into from
Feb 3, 2023

Conversation

the-argus
Copy link
Contributor

I believe this addresses #2660 and maybe #2661 though I'm not sure. Maybe I was just misusing the library.
Moving the assignment of the camera's y value to playerEyesPosition before the projection matrix was applied a.) made more sense to me and b.) fixed a weird issue I was having with v4.2.0 where mouse movement would move the player in a very small range if the playerEyesPosition ever changed from what it was initialized at.

I am on linux and have only tested the build on linux. Works well, though, and resolved my issues.

@raysan5 raysan5 merged commit b9e49cd into raysan5:master Feb 3, 2023
@raysan5
Copy link
Owner

raysan5 commented Feb 3, 2023

@the-argus Thanks for the review! I'm testing it on Windows...

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.

2 participants