18 #ifndef BT_SHAPE_HULL_H 19 #define BT_SHAPE_HULL_H 36 static btVector3* getUnitSpherePoints(
int highres = 0);
44 bool buildHull(
btScalar margin,
int highres = 0);
46 int numTriangles()
const;
47 int numVertices()
const;
48 int numIndices()
const;
52 return &m_vertices[0];
60 #endif //BT_SHAPE_HULL_H const unsigned int * getIndexPointer() const
unsigned int m_numIndices
btShapeHull implemented by John McCutchan.
btAlignedObjectArray< unsigned int > m_indices
The btConvexShape is an abstract shape interface, implemented by all convex shapes such as btBoxShape...
const btConvexShape * m_shape
btVector3 can be used to represent 3D points and vectors.
#define ATTRIBUTE_ALIGNED16(a)
const btVector3 * getVertexPointer() const
#define BT_DECLARE_ALIGNED_ALLOCATOR()
btAlignedObjectArray< btVector3 > m_vertices
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...