Original Post
I have never had problems with it before. But now suddenly the changes that I make using it won''t apply.
This is the code I use:
D3DXMatrixIdentity( &Identy );
D3DXMatrixMultiply(&matWorld,&matWorld,&Identy);
D3DXMatrixRotationY( &matWorld, timeGetTime()/150.0f );
m_pDevice->SetTransform( D3DTS_WORLD, &matWorld );
And I want the transformation to affect this rendering:
m_pDevice->DrawPrimitiveUP(D3DPT_TRIANGLELIST, 1, (void*)vertices, sizeof CUSTOMVERTEX);
That I call directly after I have Set the transformation. Is there something Iam missing. Or is there something that can cancel out the SetTransform?
The problem is that the damn triangle won''t rotate.
Hope someone can help me out