| Bullet Collision Detection & Physics Library
    | 
 
 
 
Go to the documentation of this file.
   38         for (i = 0; i < numVectors; i++)
 
   86         for (
int i = 0; i < 6; i++)
 
   88                 _directions[i] = _directions[i] * t.
getBasis();
 
   93         btVector3 aabbMin1(0, 0, 0), aabbMax1(0, 0, 0);
 
   95         for (
int i = 0; i < 3; ++i)
 
   97                 aabbMax1[i] = t(_supporting[i])[i];
 
   98                 aabbMin1[i] = t(_supporting[i + 3])[i];
 
  101         aabbMin = aabbMin1 - marginVec;
 
  102         aabbMax = aabbMax1 + marginVec;
 
  107         for (
int i = 0; i < 3; i++)
 
  113                 aabbMax[i] = tmp[i] + margin;
 
  117                 aabbMin[i] = tmp[i] - margin;
 
  
virtual int getNumPreferredPenetrationDirections() const =0
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
virtual void setLocalScaling(const btVector3 &scaling)=0
virtual void getPreferredPenetrationDirection(int index, btVector3 &penetrationVector) const =0
virtual void setMargin(btScalar margin)=0
virtual btVector3 localGetSupportingVertex(const btVector3 &vec) const =0
virtual btScalar getMargin() const =0
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 =0
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const =0
virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const =0
virtual const btVector3 & getLocalScaling() const =0