add draw_sphere, fix indexed pntlists

This commit is contained in:
georges 2001-02-17 08:16:28 +00:00
parent 1ae36cf9e9
commit 46f3d4120b
2 changed files with 349 additions and 436 deletions

File diff suppressed because it is too large Load Diff

View File

@ -213,6 +213,11 @@ protected:
D3DDEVICEDESC7 _D3DDevDesc;
void set_clipper(RECT cliprect);
void GenerateSphere(void *pVertexSpace,DWORD dwVertSpaceByteSize,
void *pIndexSpace,DWORD dwIndexSpaceByteSize,
D3DVECTOR *pCenter, float fRadius,
DWORD wNumRings, DWORD wNumSections, float sx, float sy, float sz,
DWORD *pNumVertices,DWORD *pNumIndices,DWORD fvfFlags,DWORD dwVertSize);
INLINE void set_pack_alignment(int alignment);
INLINE void set_unpack_alignment(int alignment);