   How to rotate a triangle around 2 axi!?
  I am very new to DirectX Programming and I am just getting around to the rotating part. But what I wish to do now is not only rotate a triangle around the x axis but also simultaneously around the y - in otherwords, x and y together rotating. Here''s the code I have so far. Thanx in advance!static int iRotationDegrees = 0;//Setup a matrix to rotate iRotationDegrees degrees around the Y axisD3DXMATRIX matRotation;D3DXMatrixRotationZ(&matRotation, D3DXToRadian(iRotationDegrees));//Set that matrix to the world transformationg_pDevice->SetTransform(D3DTS_WORLD, (D3DMATRIX *)&matRotation);//Increment the degree of rotationiRotationDegrees++;if (iRotationDegrees == 360)iRotationDegrees = 0;From,The NeWbIe!  
  //Setup a matrix to rotate iRotationDegrees degrees around the Y axisD3DXMATRIX matRotation;D3DXMatrixRotationZ(&matRotation, D3DXToRadian(iRotationDegrees));D3DXMATRIX matYRotation;D3DXMatrixRotationY( &matYRotation, D3DXToRadian( iRotationDegrees ) );matYRotation *= matRotation;// END MY CODEThis is known as concatenation - which is more or less just multiplying one matrix by another to produce a matrix that has the properties of both.You might also want to look into D3DXMatrixRotationAxis.Tom L  ;  Thank you SOOO much! It worked and now I am soo totally excited - yeah! Thanx again!  