fix btCompoundShaps serialization of child shapes
added ConcaveDemo to cmake added LinearMath/btSerializer.h to btBulletCollisionCommon.h
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user