请参考:http://msdn.microsoft.com/en-us/library/bb172762(VS.85).aspx,这个函数接收 8 个参数
HRESULT D3DXCreateCylinder(
__in LPDIRECT3DDEVICE9 pDevice,
__in FLOAT Radius1,
__in FLOAT Radius2,
__in FLOAT Length,
__in UINT Slices,
__in UINT Stacks,
__out LPD3DXMESH *ppMesh,
__out LPD3DXBUFFER *ppAdjacency
);
Shuhai Shen -
http://leonax.net