Changeset 2908 for code/branches/questsystem5/src/bullet/BulletDynamics/ConstraintSolver/btContactConstraint.cpp
- 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/btContactConstraint.cpp
r2907 r2908 23 23 #include "BulletCollision/NarrowPhaseCollision/btManifoldPoint.h" 24 24 25 #define ASSERT2 btAssert25 #define ASSERT2 assert 26 26 27 27 #define USE_INTERNAL_APPLY_IMPULSE 1 … … 53 53 54 54 55 55 btJacobianEntry jac(body1.getCenterOfMassTransform().getBasis().transpose(), 56 56 body2.getCenterOfMassTransform().getBasis().transpose(), 57 57 rel_pos1,rel_pos2,normal,body1.getInvInertiaDiagLocal(),body1.getInvMass(), … … 115 115 116 116 btConstraintPersistentData* cpd = (btConstraintPersistentData*) contactPoint.m_userPersistentData; 117 btAssert(cpd);117 assert(cpd); 118 118 btScalar distance = cpd->m_penetration; 119 119 btScalar positionalError = Kcor *-distance; … … 167 167 168 168 btConstraintPersistentData* cpd = (btConstraintPersistentData*) contactPoint.m_userPersistentData; 169 btAssert(cpd);169 assert(cpd); 170 170 171 171 btScalar combinedFriction = cpd->m_friction; … … 256 256 257 257 btConstraintPersistentData* cpd = (btConstraintPersistentData*) contactPoint.m_userPersistentData; 258 btAssert(cpd);258 assert(cpd); 259 259 260 260 btScalar combinedFriction = cpd->m_friction; … … 338 338 339 339 btConstraintPersistentData* cpd = (btConstraintPersistentData*) contactPoint.m_userPersistentData; 340 btAssert(cpd);340 assert(cpd); 341 341 btScalar distance = cpd->m_penetration; 342 342 btScalar positionalError = Kcor *-distance;
Note: See TracChangeset
for help on using the changeset viewer.