add commandline arguments to serialize demo for xml export and Bullet import file name

update AntTweakBar version in CDTestFramework
add btCompoundShape support in BulletXmlWorldImporter (this importer is still premature/work-in-progress)
This commit is contained in:
erwin.coumans
2012-09-26 19:47:18 +00:00
parent 60c1b1918a
commit 4442a826ed
85 changed files with 59310 additions and 18485 deletions

View File

@@ -236,6 +236,10 @@ static void Terminate()
TwTerminate();
}
int myGlutModifiers()
{
return glutGetModifiers();
}
int main(int argc, char** argv)
{
{
@@ -274,7 +278,7 @@ int main(int argc, char** argv)
atexit(Terminate); // Called after glutMainLoop ends
glutPassiveMotionFunc((GLUTmousemotionfun)TwEventMouseMotionGLUT);
TwGLUTModifiersFunc(glutGetModifiers);
TwGLUTModifiersFunc(myGlutModifiers);
// Setup default render states
glClearColor(0.3f, 0.4f, 0.5f, 1.0);