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

@@ -50,12 +50,12 @@ class SerializeDemo : public PlatformDemoApplication
btDefaultCollisionConfiguration* m_collisionConfiguration;
class btBulletWorldImporter* m_fileLoader;
const char* m_fileName;
int m_verboseMode;
public:
SerializeDemo()
{
}
SerializeDemo();
virtual ~SerializeDemo();
void initPhysics();
@@ -70,6 +70,24 @@ class SerializeDemo : public PlatformDemoApplication
virtual void displayCallback();
void setFileName(const char* name)
{
m_fileName = name;
}
const char* getFileName() const
{
return m_fileName;
}
void setVerboseMode(int mode)
{
m_verboseMode = mode;
}
int getVerboseMode() const
{
return m_verboseMode;
}
static DemoApplication* Create()
{
SerializeDemo* demo = new SerializeDemo;