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

Replace stateful rotational matrices with quaternions. #9162

Merged
merged 3 commits into from Oct 21, 2020

Conversation

jordan-woyak
Copy link
Member

This is an attempt to fix: https://bugs.dolphin-emu.org/issues/12077

Wii remote orientations were maintained as Matrix33.
We never made any attempt to normalize these and floating point inaccuracies will eventually make them invalid rotational matrices.

Orientations now use quaternions and are normalized.

@iwubcode
Copy link
Contributor

Yay, a much needed addition. Excited to see this. I'll likely update the freelook camera controllers once this is merged to use normalized quaternions.

@lioncash lioncash merged commit de96fe0 into dolphin-emu:master Oct 21, 2020
10 checks passed
@jordan-woyak jordan-woyak deleted the quaternion branch December 30, 2020 02:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants