Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 13, 2008, 11:45:51 PM (16 years ago)
Author:
rgrieder
Message:

Updated to Bullet 2.73 (first part).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/physics/src/bullet/BulletCollision/CollisionDispatch/btSphereTriangleCollisionAlgorithm.cpp

    r2192 r2430  
    2323
    2424btSphereTriangleCollisionAlgorithm::btSphereTriangleCollisionAlgorithm(btPersistentManifold* mf,const btCollisionAlgorithmConstructionInfo& ci,btCollisionObject* col0,btCollisionObject* col1,bool swapped)
    25 : btCollisionAlgorithm(ci),
     25: btActivatingCollisionAlgorithm(ci,col0,col1),
    2626m_ownManifold(false),
    2727m_manifoldPtr(mf),
     
    5757        /// report a contact. internally this will be kept persistent, and contact reduction is done
    5858        resultOut->setPersistentManifold(m_manifoldPtr);
    59         SphereTriangleDetector detector(sphere,triangle);
     59        SphereTriangleDetector detector(sphere,triangle, m_manifoldPtr->getContactBreakingThreshold());
    6060       
    6161        btDiscreteCollisionDetectorInterface::ClosestPointInput input;
    62         input.m_maximumDistanceSquared = btScalar(1e30);//todo: tighter bounds
     62        input.m_maximumDistanceSquared = btScalar(1e30);///@todo: tighter bounds
    6363        input.m_transformA = sphereObj->getWorldTransform();
    6464        input.m_transformB = triObj->getWorldTransform();
Note: See TracChangeset for help on using the changeset viewer.