add rudimentary command logging for shared memory physics server

This commit is contained in:
erwin coumans
2015-10-30 10:30:48 -07:00
parent 819c4f1951
commit c68c215ead
8 changed files with 146 additions and 4 deletions

View File

@@ -71,6 +71,7 @@ extern bool useShadowMap;
static bool visualWireframe=false;
static bool renderVisualGeometry=true;
static bool renderGrid = true;
static bool renderGui = true;
static bool enable_experimental_opencl = false;
int gDebugDrawFlags = 0;
@@ -170,6 +171,7 @@ void MyKeyboardCallback(int key, int state)
if (key=='g' && state)
{
renderGrid = !renderGrid;
renderGui = !renderGui;
}
@@ -1041,7 +1043,7 @@ void OpenGLExampleBrowser::update(float deltaTime)
}
static int toggle = 1;
if (renderGrid)
if (renderGui)
{
if (!pauseSimulation)
processProfileData(s_profWindow,false);