mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
* Adjustment: Initial CMake reworking.
This commit is contained in:
parent
516163fd5d
commit
d7cdf54661
5394 changed files with 2615532 additions and 8711 deletions
38
Engine/lib/bullet/examples/ExampleBrowser/EmptyBrowser.h
Normal file
38
Engine/lib/bullet/examples/ExampleBrowser/EmptyBrowser.h
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
#ifndef EMPTY_BROWSER
|
||||
#define EMPTY_BROWSER
|
||||
|
||||
#include "ExampleBrowserInterface.h"
|
||||
#include "EmptyExample.h"
|
||||
|
||||
class EmptyBrowser : public ExampleBrowserInterface
|
||||
{
|
||||
public:
|
||||
|
||||
EmptyExample m_emptyExample;
|
||||
|
||||
virtual CommonExampleInterface* getCurrentExample()
|
||||
{
|
||||
return &m_emptyExample;
|
||||
}
|
||||
|
||||
EmptyBrowser(class ExampleEntries* examples)
|
||||
{
|
||||
}
|
||||
|
||||
virtual bool init(int /*argc*/, char* argv[])
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
virtual void update(float deltaTime)
|
||||
{
|
||||
m_emptyExample.stepSimulation(deltaTime);
|
||||
}
|
||||
|
||||
virtual bool requestedExit()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
#endif //EMPTY_BROWSER
|
||||
Loading…
Add table
Add a link
Reference in a new issue