Archived

This topic is now archived and is closed to further replies.

geran

D3DXQuaternion ...

Recommended Posts

geran    122
Hi, Im new to D3D and want to know what these funtions do: D3DXQuaternionRotationAxis(QUATERNION, D3DXVECTOR3, float); D3DXQuaternionSlerp(D3DXQUATERNION, D3DXQUATERNION, D3DXQUATERNION, float); D3DXQuaternionRotationYawPitchRoll(D3DXQUATERNION, float, float, float); Anyoine got a link to the API? I looked at msdn.com but didnt find what I was lokking for.

Share this post


Link to post
Share on other sites
geran    122
Im trying to write my own Quaternion funtion becuase I dont use D3D but I need some help whit these two:

D3DXQuaternionRotationYawPitchRoll()

and

D3DXMatrixRotationQuaternion(),

can someone please point me to the math being used or try to explain what is being done. I know that D3DXQuaternionRotationYawPitchRoll builds a quaternion with the given yaw, pitch, and roll. But that doesnt say me much. And that D3DXMatrixRotationQuaternion builds a matrix from a quaternion.

Share this post


Link to post
Share on other sites