made 'calculateLocalInertia' const, thanks to cgripeos, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1514
- applied a large patch to remove warnings Thanks to Enrico, see http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1568 - removed SSE includes, added #incude <string.h> for memset in Extras/quickstep, thanks Eternl Knight - disabled 16-byte alignement on btQuadWord class, it causes problems under PS3 Linux. Need to check out why.
This commit is contained in:
@@ -96,7 +96,7 @@ int main(int argc,char** argv)
|
||||
|
||||
BspDemo* bspDemo = new BspDemo();
|
||||
|
||||
char* bspfilename = "BspDemo.bsp";
|
||||
const char* bspfilename = "BspDemo.bsp";
|
||||
|
||||
printf("argc=%i\n",argc);
|
||||
{
|
||||
@@ -113,7 +113,8 @@ int main(int argc,char** argv)
|
||||
bspfilename = argv[1];
|
||||
}
|
||||
|
||||
bspDemo->initPhysics(bspfilename);
|
||||
// Enrico: TODO: Should change parameter type of initPhysics() to std::string or at least const char *
|
||||
bspDemo->initPhysics((char*)bspfilename);
|
||||
|
||||
bspDemo->setCameraDistance(22.f);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user