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/CollisionShapes/btCollisionShape.cpp

    r2192 r2430  
    4343}
    4444
     45btScalar        btCollisionShape::getContactBreakingThreshold() const
     46{
     47        ///@todo make this 0.1 configurable
     48        return getAngularMotionDisc() * btScalar(0.1);
     49}
    4550btScalar        btCollisionShape::getAngularMotionDisc() const
    4651{
     52        ///@todo cache this value, to improve performance
    4753        btVector3       center;
    4854        btScalar disc;
     
    6672        // add linear motion
    6773        btVector3 linMotion = linvel*timeStep;
    68         //todo: simd would have a vector max/min operation, instead of per-element access
     74        ///@todo: simd would have a vector max/min operation, instead of per-element access
    6975        if (linMotion.x() > btScalar(0.))
    7076                temporalAabbMaxx += linMotion.x();
Note: See TracChangeset for help on using the changeset viewer.