16 #ifndef BT_CONVEX_SHAPE_INTERFACE1
17 #define BT_CONVEX_SHAPE_INTERFACE1
27 #define MAX_PREFERRED_PENETRATION_DIRECTIONS 10
48 #endif //#ifndef __SPU__
52 btScalar getMarginNonVirtual ()
const;
59 virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(
const btVector3* vectors,
btVector3* supportVerticesOut,
int numVectors)
const= 0;
66 virtual void setLocalScaling(
const btVector3& scaling) =0;
67 virtual const btVector3& getLocalScaling()
const =0;
69 virtual void setMargin(
btScalar margin)=0;
71 virtual btScalar getMargin()
const=0;
73 virtual int getNumPreferredPenetrationDirections()
const=0;
75 virtual void getPreferredPenetrationDirection(
int index,
btVector3& penetrationVector)
const=0;
84 #endif //BT_CONVEX_SHAPE_INTERFACE1
The btCollisionShape class provides an interface for collision shapes that can be shared among btColl...
The btConvexShape is an abstract shape interface, implemented by all convex shapes such as btBoxShape...
static float max(float a, float b)
static float min(float a, float b)
btVector3 can be used to represent 3D points and vectors.
#define ATTRIBUTE_ALIGNED16(a)
#define BT_DECLARE_ALIGNED_ALLOCATOR()
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...