#### Archived

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

# D3DXQuaternion ...

This topic is 5452 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

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 on other sites
Take a look at Vector and Matrix math.

.lick

##### Share on other sites
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.

1. 1
Rutin
23
2. 2
3. 3
JoeJ
20
4. 4
5. 5

• 9
• 33
• 41
• 23
• 13
• ### Forum Statistics

• Total Topics
631745
• Total Posts
3002000
×