Converting between different euler rotation forms
Im working with a library which uses a different rotational representation than the DX libraries. I beleive it uses a
Pitch(Y),Yaw(Z),Roll(X) representation.
when i pass in these paramters to the D3DX build matrix which takes yaw,pitch,roll the corresponding matrix doesnt match the rotation of the entity which is rotated by the library.
So the question is how do i convert between different rotational reprenstation of DX and the lib? Is there a forumla i can use?
-ddn
[edited by - ddn3 on August 5, 2003 6:49:27 PM]
Rather than convert between Euler systems, you probably want to just write your own Euler-to-matrix function.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement