Skip to content

Fix mult quarternion bug#1435

Open
mororo250 wants to merge 1 commit intohexops:mainfrom
mororo250:main
Open

Fix mult quarternion bug#1435
mororo250 wants to merge 1 commit intohexops:mainfrom
mororo250:main

Conversation

@mororo250
Copy link

@mororo250 mororo250 commented Nov 8, 2025

There was a bug in the mulQuat multiplication
We were doing:
vz + uv_z * w2 + (qz * uv_y - qy * uv_x) * 2 instead of vz + uv_z * w2 + (qx * uv_y - qy * uv_x) * 2

I also optimized the function to use SIMD vectorized methods.

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.

1 participant