| Bullet Collision Detection & Physics Library
    | 
 
 
 
Go to the documentation of this file.
   54                 newDot = vec.
dot(vtx);
 
   66                 newDot = vec.
dot(vtx);
 
   79         for (
int j = 0; j < numVectors; j++)
 
   90                         newDot = vec.
dot(vtx);
 
   94                                 supportVerticesOut[j] = vtx;
 
  101                         newDot = vec.
dot(vtx);
 
  105                                 supportVerticesOut[j] = vtx;
 
  120         btVector3 halfExtents(radius, radius, radius);
 
  131         inertia[0] = scaledmass * (y2 + z2);
 
  132         inertia[1] = scaledmass * (x2 + z2);
 
  133         inertia[2] = scaledmass * (x2 + y2);
 
  
btScalar m_collisionMargin
The btConvexInternalShape is an internal base class, shared by most convex shape implementations.
void setValue(const btScalar &_x, const btScalar &_y, const btScalar &_z)
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
btCapsuleShape()
only used for btCapsuleShapeZ and btCapsuleShapeX subclasses.
btScalar dot(const btVector3 &v) const
Return the dot product.
btCapsuleShapeX(btScalar radius, btScalar height)
btScalar getHalfHeight() const
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
btVector3 m_implicitShapeDimensions
btVector3 can be used to represent 3D points and vectors.
btCapsuleShapeZ(btScalar radius, btScalar height)
virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const
btConvexShape Interface
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const
CollisionShape Interface.
btScalar btSqrt(btScalar y)
btScalar getRadius() const
btScalar length2() const
Return the length of the vector squared.