Back to index

supertuxkart  0.5+dfsg1
Public Member Functions
btMultiSapBroadphasePairSortPredicate Class Reference

List of all members.

Public Member Functions

bool operator() (const btBroadphasePair &a1, const btBroadphasePair &b1)

Detailed Description

Definition at line 320 of file btMultiSapBroadphase.cpp.


Member Function Documentation

bool btMultiSapBroadphasePairSortPredicate::operator() ( const btBroadphasePair &  a1,
const btBroadphasePair &  b1 
) [inline]

Definition at line 324 of file btMultiSapBroadphase.cpp.

              {
                            btMultiSapBroadphase::btMultiSapProxy* aProxy0 = a1.m_pProxy0 ? (btMultiSapBroadphase::btMultiSapProxy*)a1.m_pProxy0->m_multiSapParentProxy : 0;
                            btMultiSapBroadphase::btMultiSapProxy* aProxy1 = a1.m_pProxy1 ? (btMultiSapBroadphase::btMultiSapProxy*)a1.m_pProxy1->m_multiSapParentProxy : 0;
                            btMultiSapBroadphase::btMultiSapProxy* bProxy0 = b1.m_pProxy0 ? (btMultiSapBroadphase::btMultiSapProxy*)b1.m_pProxy0->m_multiSapParentProxy : 0;
                            btMultiSapBroadphase::btMultiSapProxy* bProxy1 = b1.m_pProxy1 ? (btMultiSapBroadphase::btMultiSapProxy*)b1.m_pProxy1->m_multiSapParentProxy : 0;

                             return aProxy0 > bProxy0 || 
                                   (aProxy0 == bProxy0 && aProxy1 > bProxy1) ||
                                   (aProxy0 == bProxy0 && aProxy1 == bProxy1 && a1.m_algorithm > b1.m_algorithm); 
              }

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