16#ifndef BT_CONVEX_2D_SHAPE_H
17#define BT_CONVEX_2D_SHAPE_H
46 return m_childConvexShape;
51 return m_childConvexShape;
56 return "Convex2dShape";
virtual void setLocalScaling(const btVector3 &scaling)
BT_DECLARE_ALIGNED_ALLOCATOR()
virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const
btConvexShape Interface
virtual btScalar getMargin() const
virtual ~btConvex2dShape()
virtual void setMargin(btScalar margin)
void getAabb(const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicat...
virtual btVector3 localGetSupportingVertex(const btVector3 &vec) const
virtual const char * getName() const
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const
CollisionShape Interface.
virtual void getAabbSlow(const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const
virtual const btVector3 & getLocalScaling() const
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
btConvex2dShape(btConvexShape *convexChildShape)
virtual void getPreferredPenetrationDirection(int index, btVector3 &penetrationVector) const
virtual int getNumPreferredPenetrationDirections() const
btConvexShape * getChildShape()
btConvexShape()
not supported on IBM SDK, until we fix the alignment of btVector3
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
#define ATTRIBUTE_ALIGNED16(a)