Original Post
In the directX8 3D samples there is a tutorial program called Triangle and another called Vertices All I want to do is to use this code in the Triangle program (from Vertices) so I can define a triangle easier. I comment out the old code for these commands in the Triangle. // A structure for our custom vertex type struct CUSTOMVERTEX { FLOAT x, y, z, rhw; // The transformed position for the vertex DWORD color; // The vertex color }; // Our custom FVF, which describes our custom vertex structure #define D3DFVF_CUSTOMVERTEX (D3DFVF_XYZRHW|D3DFVF_DIFFUSE) in the Triangle program and rotate the triangle about the y-axis I run the program and get a traingle but it doesnt move. It is the same code as the orignal triangle program other tha the above addition. The SetupMatrices doesnt do anything like the original Triangle.