fixed a crashing bug (NULL strings) and change the viewing angle of default camera in the demo

This commit is contained in:
ejcoumans
2007-01-31 20:57:14 +00:00
parent e8ca371a71
commit 8a98639d78
2 changed files with 2 additions and 1 deletions

View File

@@ -167,6 +167,7 @@ int main(int argc,char** argv)
void ColladaDemo::initPhysics(const char* filename)
{
m_cameraUp = btVector3(0,0,1);
m_ele = 60;
m_forwardAxis = 1;
btCollisionDispatcher* dispatcher = new btCollisionDispatcher();