virtual btVector3 localGetSupportingVertex(const btVector3 &vec) const =0
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const =0
virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const
virtual void getPreferredPenetrationDirection(int index, btVector3 &penetrationVector) const =0
btConvexShape * m_childConvexShape
virtual int getNumPreferredPenetrationDirections() const
virtual void setMargin(btScalar margin)
virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const =0
virtual const btVector3 & getLocalScaling() const
The btConvexShape is an abstract shape interface, implemented by all convex shapes such as btBoxShape...
virtual btVector3 localGetSupportingVertex(const btVector3 &vec) const
void getAabb(const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const =0
getAabb's default implementation is brute force, expected derived classes to implement a fast dedicat...
virtual btScalar getMargin() const
virtual const btVector3 & getLocalScaling() const =0
virtual void setLocalScaling(const btVector3 &scaling)
virtual void getAabbSlow(const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const =0
virtual int getNumPreferredPenetrationDirections() const =0
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
btConvex2dShape(btConvexShape *convexChildShape)
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 void getAabbSlow(const btTransform &t, btVector3 &aabbMin, btVector3 &aabbMax) const
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const =0
virtual btScalar getMargin() const =0
btVector3 can be used to represent 3D points and vectors.
virtual void setLocalScaling(const btVector3 &scaling)=0
virtual void getPreferredPenetrationDirection(int index, btVector3 &penetrationVector) const
virtual void setMargin(btScalar margin)=0
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
virtual ~btConvex2dShape()