b3ConvexPolyhedronData.h 697 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #ifndef B3_CONVEX_POLYHEDRON_DATA_H
  2. #define B3_CONVEX_POLYHEDRON_DATA_H
  3. #include "Bullet3Common/shared/b3Float4.h"
  4. #include "Bullet3Common/shared/b3Quat.h"
  5. typedef struct b3GpuFace b3GpuFace_t;
  6. struct b3GpuFace
  7. {
  8. b3Float4 m_plane;
  9. int m_indexOffset;
  10. int m_numIndices;
  11. int m_unusedPadding1;
  12. int m_unusedPadding2;
  13. };
  14. typedef struct b3ConvexPolyhedronData b3ConvexPolyhedronData_t;
  15. struct b3ConvexPolyhedronData
  16. {
  17. b3Float4 m_localCenter;
  18. b3Float4 m_extents;
  19. b3Float4 mC;
  20. b3Float4 mE;
  21. float m_radius;
  22. int m_faceOffset;
  23. int m_numFaces;
  24. int m_numVertices;
  25. int m_vertexOffset;
  26. int m_uniqueEdgesOffset;
  27. int m_numUniqueEdges;
  28. int m_unused;
  29. };
  30. #endif //B3_CONVEX_POLYHEDRON_DATA_H