fix btCompoundShaps serialization of child shapes

added ConcaveDemo to cmake
added LinearMath/btSerializer.h to btBulletCollisionCommon.h
This commit is contained in:
erwin.coumans
2010-01-27 23:37:46 +00:00
parent 7a445d70b7
commit 485d1a338e
8 changed files with 89 additions and 15 deletions

View File

@@ -321,6 +321,7 @@ void ConcaveDemo::initPhysics()
//enable custom material callback
staticBody->setCollisionFlags(staticBody->getCollisionFlags() | btCollisionObject::CF_CUSTOM_MATERIAL_CALLBACK);
}
@@ -377,7 +378,7 @@ void ConcaveDemo::clientMoveAndDisplay()
renderme();
glFlush();
glutSwapBuffers();
swapBuffers();
}
@@ -396,7 +397,7 @@ void ConcaveDemo::displayCallback(void) {
glFlush();
glutSwapBuffers();
swapBuffers();
}