tweak gui description window size

use system clock for delta time
fix urdf file name
This commit is contained in:
Erwin Coumans
2015-05-04 16:52:43 -07:00
parent 6ea35aa875
commit 633ea613ab
3 changed files with 8 additions and 7 deletions

View File

@@ -17,7 +17,8 @@ int main(int argc, char* argv[])
{
b3CommandLineArgs args(argc,argv);
b3Clock clock;
ExampleEntries examples;
examples.initExampleEntries();
@@ -27,7 +28,7 @@ int main(int argc, char* argv[])
{
do
{
float deltaTimeInSeconds = 1./120.f;
float deltaTimeInSeconds = clock.getTimeMicroseconds()/1000000.f;
exampleBrowser->update(deltaTimeInSeconds);
} while (!exampleBrowser->requestedExit());