Changeset 2430 for code/branches/physics/src/bullet/BulletCollision/NarrowPhaseCollision/btPersistentManifold.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/NarrowPhaseCollision/btPersistentManifold.cpp
r2192 r2430 17 17 #include "btPersistentManifold.h" 18 18 #include "LinearMath/btTransform.h" 19 #include <assert.h> 19 20 20 21 21 btScalar gContactBreakingThreshold = btScalar(0.02); … … 67 67 } 68 68 } 69 assert(occurance<=0);69 btAssert(occurance<=0); 70 70 #endif //DEBUG_PERSISTENCY 71 71 … … 165 165 int btPersistentManifold::addManifoldPoint(const btManifoldPoint& newPoint) 166 166 { 167 assert(validContactDistance(newPoint));167 btAssert(validContactDistance(newPoint)); 168 168 169 169 int insertIndex = getNumContacts(); … … 191 191 btScalar btPersistentManifold::getContactBreakingThreshold() const 192 192 { 193 return gContactBreakingThreshold;193 return m_contactBreakingThreshold; 194 194 } 195 195
Note: See TracChangeset
for help on using the changeset viewer.