allow the Bullet world importer to save a copy with swapped endianness

See http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=8191
This commit is contained in:
erwin.coumans
2012-10-31 07:25:54 +00:00
parent ff38230704
commit 595dab2337
5 changed files with 315 additions and 21 deletions

View File

@@ -765,7 +765,7 @@ void SerializeDemo::initPhysics()
if (!m_fileLoader->loadFile("testFile.bullet"))
if (!m_fileLoader->loadFile("testFile.bullet", "testFileSwappedEndianness.bullet"))
// if (!m_fileLoader->loadFile("../SoftDemo/testFile.bullet"))
{
///create a few basic rigid bodies and save them to testFile.bullet