Archived

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

Hedos

D3DXMatrixRotation question

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
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