Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 8, 2009, 12:58:47 AM (16 years ago)
Author:
dafrick
Message:

Reverted to revision 2906 (because I'm too stupid to merge correctly, 2nd try will follow shortly. ;))

Location:
code/branches/questsystem5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem5

  • code/branches/questsystem5/src/bullet/BulletCollision/BroadphaseCollision/btBroadphaseProxy.h

    r2907 r2908  
    7070
    7171        SOFTBODY_SHAPE_PROXYTYPE,
    72         HFFLUID_SHAPE_PROXYTYPE,
    73         HFFLUID_BUOYANT_CONVEX_SHAPE_PROXYTYPE,
     72
    7473        INVALID_SHAPE_PROXYTYPE,
    7574
     
    189188
    190189                //keep them sorted, so the std::set operations work
    191                 if (proxy0.m_uniqueId < proxy1.m_uniqueId)
     190                if (&proxy0 < &proxy1)
    192191        {
    193192            m_pProxy0 = &proxy0;
     
    230229                bool operator() ( const btBroadphasePair& a, const btBroadphasePair& b )
    231230                {
    232                         const int uidA0 = a.m_pProxy0 ? a.m_pProxy0->m_uniqueId : -1;
    233                         const int uidB0 = b.m_pProxy0 ? b.m_pProxy0->m_uniqueId : -1;
    234                         const int uidA1 = a.m_pProxy1 ? a.m_pProxy1->m_uniqueId : -1;
    235                         const int uidB1 = b.m_pProxy1 ? b.m_pProxy1->m_uniqueId : -1;
    236 
    237                          return uidA0 > uidB0 ||
    238                                 (a.m_pProxy0 == b.m_pProxy0 && uidA1 > uidB1) ||
     231                         return a.m_pProxy0 > b.m_pProxy0 ||
     232                                (a.m_pProxy0 == b.m_pProxy0 && a.m_pProxy1 > b.m_pProxy1) ||
    239233                                (a.m_pProxy0 == b.m_pProxy0 && a.m_pProxy1 == b.m_pProxy1 && a.m_algorithm > b.m_algorithm);
    240234                }
Note: See TracChangeset for help on using the changeset viewer.