Back to index

supertuxkart  0.5+dfsg1
Classes | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
btEmptyAlgorithm Class Reference

EmptyAlgorithm is a stub for unsupported collision pairs. The dispatcher can dispatch a persistent btEmptyAlgorithm to avoid a search every frame. More...

#include <btEmptyCollisionAlgorithm.h>

Inheritance diagram for btEmptyAlgorithm:
Inheritance graph
[legend]
Collaboration diagram for btEmptyAlgorithm:
Collaboration graph
[legend]

List of all members.

Classes

struct  CreateFunc

Public Member Functions

 btEmptyAlgorithm (const btCollisionAlgorithmConstructionInfo &ci)
virtual void processCollision (btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)
virtual btScalar calculateTimeOfImpact (btCollisionObject *body0, btCollisionObject *body1, const btDispatcherInfo &dispatchInfo, btManifoldResult *resultOut)

Public Attributes

btEmptyAlgorithm::CreateFunc ATTRIBUTE_ALIGNED

Protected Member Functions

int getDispatcherId ()

Protected Attributes

btDispatcherm_dispatcher

Detailed Description

EmptyAlgorithm is a stub for unsupported collision pairs. The dispatcher can dispatch a persistent btEmptyAlgorithm to avoid a search every frame.

Definition at line 26 of file btEmptyCollisionAlgorithm.h.


Constructor & Destructor Documentation

Definition at line 20 of file btEmptyCollisionAlgorithm.cpp.

Here is the caller graph for this function:


Member Function Documentation

btScalar btEmptyAlgorithm::calculateTimeOfImpact ( btCollisionObject *  body0,
btCollisionObject *  body1,
const btDispatcherInfo dispatchInfo,
btManifoldResult resultOut 
) [virtual]

Implements btCollisionAlgorithm.

Definition at line 29 of file btEmptyCollisionAlgorithm.cpp.

{
       return btScalar(1.);
}
int btCollisionAlgorithm::getDispatcherId ( ) [protected, inherited]
void btEmptyAlgorithm::processCollision ( btCollisionObject *  body0,
btCollisionObject *  body1,
const btDispatcherInfo dispatchInfo,
btManifoldResult resultOut 
) [virtual]

Implements btCollisionAlgorithm.

Definition at line 25 of file btEmptyCollisionAlgorithm.cpp.

{
}

Member Data Documentation

Definition at line 57 of file btCollisionAlgorithm.h.


The documentation for this class was generated from the following files: