Original Post
Hi everyone
I''ve got a problem with rotation matrices :
(you''ll perhaps think that is very easy but i''m beginning with D3D so plz help me)
I''ve made a sample which displays a cube : you can rotate it with keyboard keys but i''ve got a very big problem :
If i rotate around an axis it''s okay but if i change of axis then the scene comes back to beginning ... Should i explain :
i make a 45° rotation to my cube around Z axis that''s cool ... and then i want to make it rotate around Y axis and ... the cube undo the 45° Z rotation !!!
Can you help me ?
I can put on the forum the code but i''ll be in TurboPascal !!!
Thanx for the one who ''ll help me
And Bye everyone
dxAvatar