Browse Source

add draw_sphere, fix indexed pntlists

georges 25 năm trước cách đây
mục cha
commit
46f3d4120b

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 343 - 435
panda/src/dxgsg/dxGraphicsStateGuardian.cxx


+ 5 - 0
panda/src/dxgsg/dxGraphicsStateGuardian.h

@@ -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);

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác