16#ifndef BT_CONVEX_2D_SHAPE_H
17#define BT_CONVEX_2D_SHAPE_H
56 return "Convex2dShape";
66 virtual void setLocalScaling(
const btVector3& scaling);
67 virtual const btVector3& getLocalScaling()
const;
69 virtual void setMargin(
btScalar margin);
72 virtual int getNumPreferredPenetrationDirections()
const;
74 virtual void getPreferredPenetrationDirection(
int index,
btVector3& penetrationVector)
const;
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
#define ATTRIBUTE_ALIGNED16(a)
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
virtual btVector3 localGetSupportingVertex(const btVector3 &vec) const
const btConvexShape * getChildShape() const
btConvexShape * getChildShape()
virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const
BT_DECLARE_ALIGNED_ALLOCATOR()
virtual const char * getName() const
btConvexShape * m_childConvexShape
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const
btConvex2dShape(btConvexShape *convexChildShape)
btConvexShape()
not supported on IBM SDK, until we fix the alignment of btVector3
btVector3 can be used to represent 3D points and vectors.