132 HalfEdge(
short _ea,
unsigned char _v,
unsigned char _p) :
ea(_ea),
v(_v),
p(_p) {}
143 ConvexH(
int vertices_size,
int edges_size,
int facets_size);
151 int4(
int _x,
int _y,
int _z,
int _w)
222 void BringOutYourDead(
const btVector3*
verts,
unsigned int vcount,
btVector3* overts,
unsigned int& ocount,
unsigned int*
indices,
unsigned indexcount);
224 bool CleanupVertices(
unsigned int svcount,
227 unsigned int& vcount,
ATTR_WARN_UNUSED_RESULT const BMVert * v
btAlignedObjectArray< unsigned int > TUIntArray
includes modifications/improvements by John Ratcliff, see BringOutYourDead below.
SIMD_FORCE_INLINE const btScalar & z() const
Return the z value.
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
btVector3
btVector3 can be used to represent 3D points and vectors. It has an un-used w component to suit 16-by...
HalfEdge(short _ea, unsigned char _v, unsigned char _p)
btAlignedObjectArray< HalfEdge > edges
btAlignedObjectArray< btPlane > facets
btAlignedObjectArray< btVector3 > vertices
HullDesc(HullFlag flag, unsigned int vcount, const btVector3 *vertices, unsigned int stride=sizeof(btVector3))
bool HasHullFlag(HullFlag flag) const
void ClearHullFlag(HullFlag flag)
unsigned int mMaxVertices
const btVector3 * mVertices
unsigned int mVertexStride
void SetHullFlag(HullFlag flag)
HullError ReleaseResult(HullResult &result)
HullError CreateConvexHull(const HullDesc &desc, HullResult &result)
btAlignedObjectArray< int > m_vertexIndexMapping
btAlignedObjectArray< btVector3 > m_OutputVertices
btAlignedObjectArray< unsigned int > m_Indices
unsigned int mNumOutputVertices
btPlane(const btVector3 &n, btScalar d)
int4(int _x, int _y, int _z, int _w)
const int & operator[](int i) const