15#ifndef BT_CONVEX_HULL_COMPUTER_H
16#define BT_CONVEX_HULL_COMPUTER_H
42 return (
this +
reverse)->targetVertex;
const T & btMax(const T &a, const T &b)
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
The btAlignedObjectArray template class uses a subset of the stl::vector interface for its methods It...
const Edge * getReverseEdge() const
const Edge * getNextEdgeOfFace() const
int getSourceVertex() const
const Edge * getNextEdgeOfVertex() const
int getTargetVertex() const
Convex hull implementation based on Preparata and Hong See http://code.google.com/p/bullet/issues/det...
btScalar compute(const void *coords, bool doubleCoords, int stride, int count, btScalar shrink, btScalar shrinkClamp)
btAlignedObjectArray< btVector3 > vertices
btAlignedObjectArray< int > original_vertex_index
btScalar compute(const double *coords, int stride, int count, btScalar shrink, btScalar shrinkClamp)
btAlignedObjectArray< int > faces
btScalar compute(const float *coords, int stride, int count, btScalar shrink, btScalar shrinkClamp)
btAlignedObjectArray< Edge > edges