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];
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
#define ATTRIBUTE_ALIGNED16(a)
The btConvexShape is an abstract shape interface, implemented by all convex shapes such as btBoxShape...
btShapeHull implemented by John McCutchan.
const unsigned int * getIndexPointer() const
const btVector3 * getVertexPointer() const
btAlignedObjectArray< btVector3 > m_vertices
unsigned int m_numIndices
btAlignedObjectArray< unsigned int > m_indices
const btConvexShape * m_shape
BT_DECLARE_ALIGNED_ALLOCATOR()
btVector3 can be used to represent 3D points and vectors.