Made the move from sourceforge to googlecode (no svn sync any longer)

Fixed BulletColladaConverter load/save
Removed btTypedUserInfo
Added btHashMap
Fixed btCapsuleShape
This commit is contained in:
erwin.coumans
2008-03-13 05:16:42 +00:00
parent 2f80e7f814
commit fe5386a5c8
20 changed files with 771 additions and 269 deletions

View File

@@ -180,7 +180,25 @@ void ColladaDemo::keyboardCallback(unsigned char key, int x, int y)
{
//save a COLLADA .dae physics snapshot
if (gColladaConverter)
gColladaConverter->save();
{
if (gColladaConverter->getLastFileName())
{
//deal with the name pre/post fixing etc.
char saveName[550];
static int saveCount=1;
sprintf(saveName,"%s%i",gColladaConverter->getLastFileName(),saveCount++);
char* name = &saveName[0];
if (name[0] == '/')
{
name = &saveName[1];
}
gColladaConverter->save(name);
} else
{
gColladaConverter->save("brandNew.dae");
}
}
} else
{
DemoApplication::keyboardCallback(key,x,y);