16 #ifndef BT_CONVEX_2D_SHAPE_H
17 #define BT_CONVEX_2D_SHAPE_H
40 virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(
const btVector3* vectors,
btVector3* supportVerticesOut,
int numVectors)
const;
46 return m_childConvexShape;
51 return m_childConvexShape;
56 return "Convex2dShape";
69 virtual void setLocalScaling(
const btVector3& scaling) ;
70 virtual const btVector3& getLocalScaling()
const ;
72 virtual void setMargin(
btScalar margin);
75 virtual int getNumPreferredPenetrationDirections()
const;
77 virtual void getPreferredPenetrationDirection(
int index,
btVector3& penetrationVector)
const;
82 #endif //BT_CONVEX_2D_SHAPE_H
virtual const char * getName() const
const btConvexShape * getChildShape() const
btConvexShape * m_childConvexShape
The btConvexShape is an abstract shape interface, implemented by all convex shapes such as btBoxShape...
btVector3 can be used to represent 3D points and vectors.
#define ATTRIBUTE_ALIGNED16(a)
btConvexShape * getChildShape()
#define BT_DECLARE_ALIGNED_ALLOCATOR()
The btConvex2dShape allows to use arbitrary convex shapes as 2d convex shapes, with the Z component a...
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...