Changeset 2908 for code/branches/questsystem5/src/bullet/BulletDynamics/ConstraintSolver/btContactSolverInfo.h
- Timestamp:
- Apr 8, 2009, 12:58:47 AM (16 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/bullet/BulletDynamics/ConstraintSolver/btContactSolverInfo.h
r2907 r2908 23 23 SOLVER_USE_WARMSTARTING = 4, 24 24 SOLVER_USE_FRICTION_WARMSTARTING = 8, 25 SOLVER_USE_2_FRICTION_DIRECTIONS = 16, 26 SOLVER_ENABLE_FRICTION_DIRECTION_CACHING = 32, 27 SOLVER_DISABLE_VELOCITY_DEPENDENT_FRICTION_DIRECTION = 64, 28 SOLVER_CACHE_FRIENDLY = 128, 29 SOLVER_SIMD = 256, //enabled for Windows, the solver innerloop is branchless SIMD, 40% faster than FPU/scalar version 30 SOLVER_CUDA = 512 //will be open sourced during Game Developers Conference 2009. Much faster. 25 SOLVER_CACHE_FRIENDLY = 16 31 26 }; 32 27 … … 45 40 btScalar m_erp;//used as Baumgarte factor 46 41 btScalar m_erp2;//used in Split Impulse 47 btScalar m_globalCfm;//constraint force mixing48 42 int m_splitImpulse; 49 43 btScalar m_splitImpulsePenetrationThreshold; … … 72 66 m_erp = btScalar(0.2); 73 67 m_erp2 = btScalar(0.1); 74 m_globalCfm = btScalar(0.); 75 m_sor = btScalar(1.); 68 m_sor = btScalar(1.3); 76 69 m_splitImpulse = false; 77 70 m_splitImpulsePenetrationThreshold = -0.02f; 78 71 m_linearSlop = btScalar(0.0); 79 72 m_warmstartingFactor=btScalar(0.85); 80 m_solverMode = SOLVER_ USE_WARMSTARTING | SOLVER_SIMD ;//SOLVER_RANDMIZE_ORDER73 m_solverMode = SOLVER_CACHE_FRIENDLY | SOLVER_RANDMIZE_ORDER | SOLVER_USE_WARMSTARTING; 81 74 m_restingContactRestitutionThreshold = 2;//resting contact lifetime threshold to disable restitution 82 75 }
Note: See TracChangeset
for help on using the changeset viewer.