| Bullet Collision Detection & Physics Library
    | 
 
 
 
Go to the documentation of this file.
   31         for (
int i = 0; i < numVectors; i++)
 
   57         aabbMin = center - extent;
 
   58         aabbMax = center + extent;
 
  
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...
virtual btScalar getMargin() const
virtual btVector3 localGetSupportingVertex(const btVector3 &vec) const
virtual btVector3 localGetSupportingVertexWithoutMargin(const btVector3 &vec) const
virtual void calculateLocalInertia(btScalar mass, btVector3 &inertia) const
btVector3 can be used to represent 3D points and vectors.
virtual void batchedUnitVectorGetSupportingVertexWithoutMargin(const btVector3 *vectors, btVector3 *supportVerticesOut, int numVectors) const
virtual 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...
btVector3 & normalize()
Normalize this vector x^2 + y^2 + z^2 = 1.
btScalar length2() const
Return the length of the vector squared.