Jump to content
  • Advertisement

Archived

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

Hedos

D3DXMatrixRotation question

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

If you intended to correct an error in the post then please contact us.

Recommended Posts

How work the value to specify the rotation angle when I use D3DXMatrixRotation ??? Using 0.25 for a 90degree rotation dont work, can someone explain me what to do ? ------------------------- Account: Hedos - Level 1 Programmer

Share this post


Link to post
Share on other sites
Advertisement
Angles are expressed in radians.

90° = 1.57076 rad
180° = 3.141529 rad
360° = 6.283058 rad

Cheers!
-ToohrVyk, Human Programmer 2/Student 20

PS: don''t worry, DirectX programming skills only become available at Programmer Level 2 ;-)

Extatica is coming soon!
Check it out on:
http://www.extatica.com02.com
Nexeruza Studios:
http://nexeruza.ionichost.com/home.html

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!