fix some recent compile issues

This commit is contained in:
erwin.coumans 2010-01-21 00:34:30 +00:00
parent fbc0d86cf6
commit 90ecf8ccc3
2 changed files with 5 additions and 5 deletions

View File

@ -36,7 +36,7 @@ IF (USE_GLUT)
ADD_EXECUTABLE(AppSerializeDemo
main.cpp
$(SERIALIZE_FILES)
${SERIALIZE_FILES}
SerializeDemo.cpp
SerializeDemo.h
)
@ -54,4 +54,4 @@ ELSE (USE_GLUT)
SerializeDemo.cpp
SerializeDemo.h
)
ENDIF (USE_GLUT)
ENDIF (USE_GLUT)

View File

@ -13,7 +13,7 @@ subject to the following restrictions:
3. This notice may not be removed or altered from any source distribution.
*/
#include "BasicDemo.h"
#include "SerializeDemo.h"
#include "GlutStuff.h"
#include "GLDebugDrawer.h"
#include "btBulletDynamicsCommon.h"
@ -73,7 +73,7 @@ int main(int argc,char** argv)
//printf("tmp value=%f,%f,%f\n",tmp->m_position.getX(),tmp->m_position.getY(),tmp->m_position.getZ());
}
BasicDemo ccdDemo;
SerializeDemo ccdDemo;
ccdDemo.initPhysics();
ccdDemo.getDynamicsWorld()->setDebugDrawer(&gDebugDrawer);
@ -81,7 +81,7 @@ int main(int argc,char** argv)
#ifdef CHECK_MEMORY_LEAKS
ccdDemo.exitPhysics();
#else
return glutmain(argc, argv,640,480,"Bullet Physics Demo. http://bulletphysics.com",&ccdDemo);
return glutmain(argc, argv,640,480,"Bullet Physics Demo. http://bulletphysics.org",&ccdDemo);
#endif
//default glut doesn't return from mainloop