David Adam : d3dx9: Improve vertices computation in D3DXCreatePolygon().