mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-15 14:10:11 +00:00
f9762d63ab
When running the Example Browser with Basic Example, 'visual leak detector' show no leak. Many other individual examples still leak, so it is work-in-progress. Disabled the profiler window (too many leaks)
30 lines
716 B
C++
30 lines
716 B
C++
#ifndef OPENGL_BROWSER_GUI_H
|
|
#define OPENGL_BROWSER_GUI_H
|
|
|
|
#include "ExampleBrowserInterface.h"
|
|
|
|
class OpenGLExampleBrowser : public ExampleBrowserInterface
|
|
{
|
|
|
|
struct OpenGLExampleBrowserInternalData* m_internalData;
|
|
|
|
public:
|
|
|
|
OpenGLExampleBrowser(class ExampleEntries* examples);
|
|
virtual ~OpenGLExampleBrowser();
|
|
|
|
virtual CommonExampleInterface* getCurrentExample();
|
|
|
|
virtual bool init(int argc, char* argv[]);
|
|
|
|
virtual void update(float deltaTime);
|
|
|
|
virtual bool requestedExit();
|
|
|
|
virtual void setSharedMemoryInterface(class SharedMemoryInterface* sharedMem);
|
|
|
|
static void registerFileImporter(const char* extension, CommonExampleInterface::CreateFunc* createFunc);
|
|
};
|
|
|
|
#endif //OPENGL_BROWSER_GUI_H
|