Bullet Collision Detection & Physics Library
|
Go to the documentation of this file.
32 return supVertexA - supVertexB;
38 for (
int i = 0; i < numVectors; i++)
56 getAabb(identity, aabbMin, aabbMax);
70 inertia = scaledmass * (
btVector3(y2 + z2, x2 + z2, x2 + y2));
virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const
const btConvexShape * m_shapeB
The btConvexInternalShape is an internal base class, shared by most convex shape implementations.
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
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 calculateLocalInertia(btScalar mass, btVector3 &inertia) const
const btScalar & y() const
Return the y value.
virtual btScalar getMargin() const =0
btMinkowskiSumShape(const btConvexShape *shapeA, const btConvexShape *shapeB)
btVector3 can be used to represent 3D points and vectors.
The btConvexShape is an abstract shape interface, implemented by all convex shapes such as btBoxShape...
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
const btScalar & x() const
Return the x value.
virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const =0
const btConvexShape * m_shapeA
virtual btScalar getMargin() const
const btScalar & z() const
Return the z value.