16#ifndef BT_SIMPLEX_1TO4_SHAPE
17#define BT_SIMPLEX_1TO4_SHAPE
68 virtual const char*
getName()
const {
return "btBU_Simplex1to4"; }
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
#define ATTRIBUTE_ALIGNED16(a)
BT_DECLARE_ALIGNED_ALLOCATOR()
virtual bool isInside(const btVector3 &pt, btScalar tolerance) const
virtual const char * getName() const
getName is for debugging
virtual int getNumVertices() const
virtual void getEdge(int i, btVector3 &pa, btVector3 &pb) const
virtual void getAabb(const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const
getAabb returns the axis aligned bounding box in the coordinate frame of the given transform t.
virtual int getNumPlanes() const
virtual void getVertex(int i, btVector3 &vtx) const
virtual void getPlane(btVector3 &planeNormal, btVector3 &planeSupport, int i) const
void reset()
clear internal cached data and reset random seed
void addVertex(const btVector3 &pt)
virtual int getIndex(int i) const
virtual int getNumEdges() const
btVector3
btVector3 can be used to represent 3D points and vectors. It has an un-used w component to suit 16-by...
The btPolyhedralConvexAabbCachingShape adds aabb caching to the btPolyhedralConvexShape.