Revert b3Clock changes and use reset method instead.

This commit is contained in:
Benjamin Ellenberger committed 2017-06-04 20:39:10 +02:00
1 parent cd153eb6a5
commit b5a80a08aa
3 files changed
+31 -51

No files matched your search

+2 -1
View File
@@ -160,7 +160,8 @@ public:
m_filterCallback(NULL)
{
b3Clock clock;
srand(clock.getSystemTimeMilliseconds()); // Set random milliseconds based on system time
srand(clock.getTimeMilliseconds()); // Set random milliseconds based on system time
clock.reset(true); // Reset clock to zero to get new random seed
}
virtual ~NN3DWalkersExample()