Skip to main content
gamedev.net
🔒 Locked

scale and component

Started by giugio 1 reply 550+ views
Original Post
giugio
giugio
Hy. I have a mesh to rotate by this parameters: 0.57735 0.57735 0.57735 -240 -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
giugio
giugio
mmm....
i use directx , how set up rotation with
0.57735 0.57735 0.57735 -240
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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.