Jump to content
  • Advertisement
Sign in to follow this  
giugio

scale and component

This topic is 3672 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

Hy. I have a mesh to rotate by this parameters: <rotate>0.57735 0.57735 0.57735 -240</rotate> -240 is the angle ok , but the probably vector 0.57735 0.57735 0.57735? I must scale in x,y or z component ? and how scale for each component? Thanks

Share this post


Link to post
Share on other sites
Advertisement
mmm....
i use directx , how set up rotation with
<rotate>0.57735 0.57735 0.57735 -240</rotate>
i have :
D3DXMatrixRotationX(&mxRotate1,-240);
D3DXMatrixRotationY(&mxRotate2,-240);
D3DXMatrixRotationZ(&mxRotate3,-240);

where mxRotate1,2,3 are D3DXMATRIX


what is the function for rotate the object?
thanks

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!