mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-08-28 14:08:32 +00:00
NoGL: Update ExampleBrowserInterface and EmptyBrowser, with interface methods added to the OpenGL example browser, but didn't get added to the interface and empty interface. Required to compile the in-process example browser without OpenGL dependency.
This commit is contained in:
@@ -28,10 +28,18 @@ public:
|
||||
m_emptyExample.stepSimulation(deltaTime);
|
||||
}
|
||||
|
||||
virtual void updateGraphics()
|
||||
{
|
||||
}
|
||||
|
||||
virtual bool requestedExit()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
virtual void setSharedMemoryInterface(class SharedMemoryInterface* sharedMem)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
#endif //EMPTY_BROWSER
|
||||
|
||||
@@ -14,7 +14,11 @@ public:
|
||||
|
||||
virtual void update(float deltaTime) = 0;
|
||||
|
||||
virtual void updateGraphics() = 0;
|
||||
|
||||
virtual bool requestedExit() = 0;
|
||||
|
||||
virtual void setSharedMemoryInterface(class SharedMemoryInterface* sharedMem) = 0;
|
||||
};
|
||||
|
||||
#endif //EXAMPLE_BROWSER_GUI_H
|
||||
Reference in New Issue
Block a user