summaryrefslogtreecommitdiff
path: root/Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp')
-rw-r--r--Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp b/Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp
index 00c878d35..da1296fe4 100644
--- a/Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp
+++ b/Demos/ConvexDecompositionDemo/ConvexDecompositionDemo.cpp
@@ -294,7 +294,7 @@ void ConvexDecompositionDemo::clientMoveAndDisplay()
{
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
- float dt = m_clock.getTimeMilliseconds() * 0.001f;
+ float dt = m_clock.getTimeMicroseconds() * 0.000001f;
m_clock.reset();
m_dynamicsWorld->stepSimulation(dt);