summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormbennice <mbennice@google.com>2019-03-26 14:39:01 -0700
committermbennice <mbennice@google.com>2019-03-26 14:39:01 -0700
commit8a96dc67cc43fc17e54c75880a3a7a8191d7a1e8 (patch)
treed479e7514cacb6bcdd99b5e710157171ed214b5d
parent8fcb8d0694ef647d30aa8dbbf9a90f7da8ef8b8d (diff)
downloadbullet3-8a96dc67cc43fc17e54c75880a3a7a8191d7a1e8.tar.gz
Initializes simulation timestamp to 0 explicitly.
-rw-r--r--examples/SharedMemory/PhysicsServerCommandProcessor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp
index 0778d57df..f0a05d05e 100644
--- a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp
+++ b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp
@@ -1699,6 +1699,7 @@ struct PhysicsServerCommandProcessorInternalData
m_logPlaybackUid(-1),
m_physicsDeltaTime(1. / 240.),
m_numSimulationSubSteps(0),
+ m_simulationTimestamp(0);
m_userConstraintUIDGenerator(1),
m_broadphaseCollisionFilterCallback(0),
m_pairCache(0),