世界变换:IDirect3DDevice9::SetTransform(D3DTS_WORLD,世界变换矩阵)
D3DXMATRIX cubeWorldMatrix;
D3DXMatrixTranslation(&cubeWorldMatrix,-3.0f,2.0f,6.0f);
D3DXMATRIX sphereWorldMatrix;
D3DXMatrixTranslation(&sphereWorldMatrix,5.0f,0.0f,-2.0f);
Device->SetTransform(D3DTS_WORLD,&cubeWorldMatrix);
drawCube();
Device->SetTransform(D3DTS_WORLD,&sphereWorldMatrix);
drawSphere();