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