First commit of 2008, Happy New Year!
Add option to compile without btClock and without profiling: comment out USE_BT_CLOCK, and #define BT_NO_PROFILE Fixed typo/case in #include "LinearMath/btQuickProf.h", in SpuParallelSolver.cpp Removed unnecessary files from libxml CMakeLists.txt
This commit is contained in:
@@ -582,7 +582,7 @@ void GimpactConcaveDemo::clientMoveAndDisplay()
|
||||
#endif //USE_KINEMATIC_GROUND
|
||||
|
||||
|
||||
unsigned long int time = m_clock.getTimeMilliseconds();
|
||||
unsigned long int time = getDeltaTimeMicroseconds()/btScalar(1000);
|
||||
printf("%i time %i ms \n",m_steps_done,time);
|
||||
|
||||
//#ifdef BULLET_GIMPACT
|
||||
@@ -596,7 +596,6 @@ void GimpactConcaveDemo::clientMoveAndDisplay()
|
||||
|
||||
|
||||
|
||||
m_clock.reset();
|
||||
m_dynamicsWorld->stepSimulation(dt);
|
||||
|
||||
//optional but useful: debug drawing
|
||||
|
||||
Reference in New Issue
Block a user