Potential fix for Linux slow performance (usleep(0) takes a lot of time)

Remove b3RobotSimAPI, use RobotSimulator/b3RobotSimulatorClientAPI.h instead
This commit is contained in:
Erwin Coumans
2017-05-13 13:37:49 -07:00
parent 0944790577
commit ef7a7f9004
10 changed files with 204 additions and 1434 deletions

View File

@@ -58,10 +58,7 @@ public:
}
virtual void physicsDebugDraw(int debugDrawMode)
{
}
virtual void initPhysics()
{
@@ -266,9 +263,9 @@ public:
}
virtual void physicsDebugDraw()
virtual void physicsDebugDraw(int debugDrawMode)
{
m_robotSim.debugDraw(debugDrawMode);
}
virtual bool mouseMoveCallback(float x,float y)
{