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

Add XMVector[3/4]TransformTranspose(Stream) #11

Open
walbourn opened this issue May 24, 2016 · 0 comments
Open

Add XMVector[3/4]TransformTranspose(Stream) #11

walbourn opened this issue May 24, 2016 · 0 comments
Labels

Comments

@walbourn
Copy link
Member

walbourn commented May 24, 2016

DirectXMath has a number of different forms of transformation, but currently lacks an optimized function for doing transforms by transposed matrices:

  • XMVector3TransformTranspose
  • XMVector4TransformTranspose
  • XMVector3TransformTransposeStream
  • XMVector4TransformTransposeStream

This would compute:

v * M = [dot(vx, Mx), dot(vy, My), dot(vz, Mz), dot(vw, Mw)]
v * M^T = mul(v, Mx) + mul(v, My) + mul(v, Mz) + mul(v, Mw)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant