Back to index

supertuxkart  0.5+dfsg1
Classes | Defines | Functions | Variables
btMultiSapBroadphase.cpp File Reference
#include "btMultiSapBroadphase.h"
#include "btSimpleBroadphase.h"
#include "LinearMath/btAabbUtil2.h"
#include "BulletCollision/CollisionShapes/btOptimizedBvh.h"

Go to the source code of this file.

Classes

class  btMultiSapBroadphasePairSortPredicate

Defines

#define CLEAN_INVALID_PAIRS   1

Functions

bool boxIsContainedWithinBox (const btVector3 &amin, const btVector3 &amax, const btVector3 &bmin, const btVector3 &bmax)

Variables

int gOverlappingPairs
 btSapBroadphaseArray m_sapBroadphases;
bool stopUpdating = false

Define Documentation

#define CLEAN_INVALID_PAIRS   1

Function Documentation

bool boxIsContainedWithinBox ( const btVector3 amin,
const btVector3 amax,
const btVector3 bmin,
const btVector3 bmax 
)

Definition at line 138 of file btMultiSapBroadphase.cpp.

{
return
amin.getX() >= bmin.getX() && amax.getX() <= bmax.getX() &&
amin.getY() >= bmin.getY() && amax.getY() <= bmax.getY() &&
amin.getZ() >= bmin.getZ() && amax.getZ() <= bmax.getZ();
}

Here is the call graph for this function:


Variable Documentation

btSapBroadphaseArray m_sapBroadphases;

btOverlappingPairCache* m_overlappingPairs;

Definition at line 23 of file btOverlappingPairCache.cpp.

bool stopUpdating = false

Definition at line 316 of file btMultiSapBroadphase.cpp.