Changeset 2430 for code/branches/physics/src/bullet/BulletCollision/CollisionShapes/btCollisionShape.cpp
- Timestamp:
- Dec 13, 2008, 11:45:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/bullet/BulletCollision/CollisionShapes/btCollisionShape.cpp
r2192 r2430 43 43 } 44 44 45 btScalar btCollisionShape::getContactBreakingThreshold() const 46 { 47 ///@todo make this 0.1 configurable 48 return getAngularMotionDisc() * btScalar(0.1); 49 } 45 50 btScalar btCollisionShape::getAngularMotionDisc() const 46 51 { 52 ///@todo cache this value, to improve performance 47 53 btVector3 center; 48 54 btScalar disc; … … 66 72 // add linear motion 67 73 btVector3 linMotion = linvel*timeStep; 68 // todo: simd would have a vector max/min operation, instead of per-element access74 ///@todo: simd would have a vector max/min operation, instead of per-element access 69 75 if (linMotion.x() > btScalar(0.)) 70 76 temporalAabbMaxx += linMotion.x();
Note: See TracChangeset
for help on using the changeset viewer.