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

Fix camera-other #3843

Merged
merged 1 commit into from
Jan 18, 2025
Merged

Fix camera-other #3843

merged 1 commit into from
Jan 18, 2025

Conversation

water111
Copy link
Collaborator

There's a feature to draw levels with a different camera matrix. This uses camera-temp-other, camera-rot-other, etc instead of camera-temp, camera-rot... I assumed that trans-other was the "other" version of trans, but it turns out this isn't true - trans-other is combined with quat-other and the original camera matrix.

This fixes the issue by using the translation part of inv-camera-rot-other for othercam levels only. (it works in all cases, but I didn't want to use it for normal levels since I think it will be less accurate)

@water111 water111 merged commit 341f611 into master Jan 18, 2025
12 checks passed
@water111 water111 deleted the w/cam-other-fix branch January 18, 2025 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant