disable memmove in btDbvt
forgot to reset clock
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include "../Utils/b3Clock.h"
|
||||
|
||||
#include "ExampleEntries.h"
|
||||
|
||||
#include "Bullet3Common/b3Logging.h"
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
b3CommandLineArgs args(argc,argv);
|
||||
@@ -24,11 +24,13 @@ int main(int argc, char* argv[])
|
||||
|
||||
ExampleBrowserInterface* exampleBrowser = new DefaultBrowser(&examples);
|
||||
bool init = exampleBrowser->init(argc,argv);
|
||||
clock.reset();
|
||||
if (init)
|
||||
{
|
||||
do
|
||||
{
|
||||
float deltaTimeInSeconds = clock.getTimeMicroseconds()/1000000.f;
|
||||
clock.reset();
|
||||
exampleBrowser->update(deltaTimeInSeconds);
|
||||
|
||||
} while (!exampleBrowser->requestedExit());
|
||||
|
||||
Reference in New Issue
Block a user