Revert b3Clock changes and use reset method instead.

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

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()