Reduce default memory pool sizes (will use heap on overflow anyway), fits better with iPhone and consoles

Debug drawer needs to iterate over all objects, not just active
This commit is contained in:
erwin.coumans
2008-11-08 06:37:48 +00:00
parent 1996004b01
commit f6dcf94f25
2 changed files with 5 additions and 5 deletions

View File

@@ -151,9 +151,9 @@ void btDiscreteDynamicsWorld::debugDrawWorld()
{
int i;
for ( i=0;i<m_activeObjects.size();i++)
for ( i=0;i<m_collisionObjects.size();i++)
{
btCollisionObject* colObj = m_activeObjects[i];
btCollisionObject* colObj = m_collisionObjects[i];
if (getDebugDrawer() && getDebugDrawer()->getDebugMode() & btIDebugDraw::DBG_DrawWireframe)
{
btVector3 color(btScalar(255.),btScalar(255.),btScalar(255.));