Skip to content

Conversation

@walbourn
Copy link
Member

@walbourn walbourn commented Jan 13, 2022

The original implementation used euler-to-quat and then quat-to-matrix (which is how D3DXMath implemented this method as well). The result used 48 vector ops.

Doing this computation in closed-form directly as euler-to-matrix only takes around 19 vector ops.

@walbourn walbourn self-assigned this Jan 13, 2022
@walbourn walbourn requested review from scm-xbox and shawnhar January 13, 2022 06:46
@walbourn walbourn merged commit 6be498c into main Jan 18, 2022
@walbourn walbourn deleted the rollpitchyaw branch January 18, 2022 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants