Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 20, 2008, 5:40:38 PM (16 years ago)
Author:
rgrieder
Message:

Downgraded Bullet to latest tagged version: 2.72
That should give us more stability.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/physics/src/bullet/BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.cpp

    r1963 r1972  
    3030        mem = btAlignedAlloc(sizeof(btSoftSoftCollisionAlgorithm::CreateFunc),16);
    3131        m_softSoftCreateFunc = new(mem) btSoftSoftCollisionAlgorithm::CreateFunc;
    32 
     32       
    3333        mem = btAlignedAlloc(sizeof(btSoftRigidCollisionAlgorithm::CreateFunc),16);
    3434        m_softRigidConvexCreateFunc = new(mem) btSoftRigidCollisionAlgorithm::CreateFunc;
    35 
     35       
    3636        mem = btAlignedAlloc(sizeof(btSoftRigidCollisionAlgorithm::CreateFunc),16);
    3737        m_swappedSoftRigidConvexCreateFunc = new(mem) btSoftRigidCollisionAlgorithm::CreateFunc;
     
    4141        mem = btAlignedAlloc(sizeof(btSoftBodyConcaveCollisionAlgorithm::CreateFunc),16);
    4242        m_softRigidConcaveCreateFunc = new(mem) btSoftBodyConcaveCollisionAlgorithm::CreateFunc;
    43 
     43       
    4444        mem = btAlignedAlloc(sizeof(btSoftBodyConcaveCollisionAlgorithm::CreateFunc),16);
    4545        m_swappedSoftRigidConcaveCreateFunc = new(mem) btSoftBodyConcaveCollisionAlgorithm::SwappedCreateFunc;
     
    4848
    4949        //replace pool by a new one, with potential larger size
    50 
     50       
    5151        if (m_ownsCollisionAlgorithmPool && m_collisionAlgorithmPool)
    5252        {
    5353                int curElemSize = m_collisionAlgorithmPool->getElementSize();
    5454                ///calculate maximum element size, big enough to fit any collision algorithm in the memory pool
    55 
    56 
     55               
     56               
    5757                int maxSize0 = sizeof(btSoftSoftCollisionAlgorithm);
    5858                int maxSize1 = sizeof(btSoftRigidCollisionAlgorithm);
     
    9393#endif
    9494}
    95 
     95       
    9696///creation of soft-soft and soft-rigid, and otherwise fallback to base class implementation
    9797btCollisionAlgorithmCreateFunc* btSoftBodyRigidBodyCollisionConfiguration::getCollisionAlgorithmCreateFunc(int proxyType0,int proxyType1)
Note: See TracChangeset for help on using the changeset viewer.