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

Losing sign of quaternion #158

Open
Yaxit opened this issue Jul 12, 2023 · 0 comments
Open

Losing sign of quaternion #158

Yaxit opened this issue Jul 12, 2023 · 0 comments

Comments

@Yaxit
Copy link

Yaxit commented Jul 12, 2023

Could someone please explain what is the output of the SFLP quaternion block?
I see three half-floats are generated, and the fourth component is inferred from the game rotation being normalized.
Is the fourth component the real part? Don't we lose the sign with this transformation?

static void sflp2q(float quat[4], uint16_t sflp[3])

@Yaxit Yaxit changed the title Losing sign of Losing sign of quaternion Jul 12, 2023
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

No branches or pull requests

1 participant