23btConvex2dShape::~btConvex2dShape()
27btVector3 btConvex2dShape::localGetSupportingVertexWithoutMargin(
const btVector3& vec)
const
29 return m_childConvexShape->localGetSupportingVertexWithoutMargin(vec);
32void btConvex2dShape::batchedUnitVectorGetSupportingVertexWithoutMargin(
const btVector3* vectors,
btVector3* supportVerticesOut,
int numVectors)
const
34 m_childConvexShape->batchedUnitVectorGetSupportingVertexWithoutMargin(vectors, supportVerticesOut, numVectors);
39 return m_childConvexShape->localGetSupportingVertex(vec);
42void btConvex2dShape::calculateLocalInertia(
btScalar mass,
btVector3& inertia)
const
45 m_childConvexShape->calculateLocalInertia(mass, inertia);
51 m_childConvexShape->getAabb(t, aabbMin, aabbMax);
56 m_childConvexShape->getAabbSlow(t, aabbMin, aabbMax);
59void btConvex2dShape::setLocalScaling(
const btVector3& scaling)
61 m_childConvexShape->setLocalScaling(scaling);
64const btVector3& btConvex2dShape::getLocalScaling()
const
66 return m_childConvexShape->getLocalScaling();
69void btConvex2dShape::setMargin(
btScalar margin)
71 m_childConvexShape->setMargin(margin);
73btScalar btConvex2dShape::getMargin()
const
75 return m_childConvexShape->getMargin();
78int btConvex2dShape::getNumPreferredPenetrationDirections()
const
80 return m_childConvexShape->getNumPreferredPenetrationDirections();
83void btConvex2dShape::getPreferredPenetrationDirection(
int index,
btVector3& penetrationVector)
const
85 m_childConvexShape->getPreferredPenetrationDirection(index, penetrationVector);
@ CONVEX_2D_SHAPE_PROXYTYPE
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...
btVector3
btVector3 can be used to represent 3D points and vectors. It has an un-used w component to suit 16-by...