create some demos to compare MLCP solvers

This commit is contained in:
Erwin Coumans
2014-02-17 14:33:40 -08:00
parent 8a1b7ea92c
commit fabdf8b4a9
4 changed files with 191 additions and 96 deletions

View File

@@ -24,8 +24,16 @@ static BulletDemoEntry allDemos[]=
//{"emptydemo",EmptyBulletDemo::MyCreateFunc},
{"BasicDemo",BasicDemo::MyCreateFunc},
//{"ChainDemo",ChainDemo::MyCreateFunc},
{"HingeDemo",HingeDemo::MyCreateFunc},
/*
{"ChainDemo",ChainDemo::MyCreateFunc},
{"PGSHingeDemo",HingeDemo::PGSCreateFunc},
{"DantzigHingeDemo",HingeDemo::DantzigCreateFunc},
{"LemkeHingeDemo",HingeDemo::LemkeCreateFunc},
{"InertiaHingeDemo",HingeDemo::InertiaCreateFunc},
{"ABMHingeDemo",HingeDemo::FeatherstoneCreateFunc},
*/
{"Ragdoll",RagDollDemo::MyCreateFunc},
{"MultiBody1",FeatherstoneDemo1::MyCreateFunc},
{"MultiDofDemo",MultiDofDemo::MyCreateFunc},

View File

@@ -130,10 +130,8 @@ void MyComboBoxCallback(int comboId, const char* item)
}
extern bool sOpenGLVerbose;
int main(int argc, char* argv[])
{
sOpenGLVerbose = false;
float dt = 1./120.f;
int width = 1024;