2013-03-13 22:03:08 +00:00
|
|
|
#ifndef PAIR_BENCH_H
|
|
|
|
#define PAIR_BENCH_H
|
|
|
|
|
|
|
|
#include "../GpuDemo.h"
|
|
|
|
|
|
|
|
class PairBench : public GpuDemo
|
|
|
|
{
|
2013-03-14 00:04:59 +00:00
|
|
|
|
|
|
|
class GLInstancingRenderer* m_instancingRenderer;
|
2013-03-14 19:53:03 +00:00
|
|
|
class btgWindowInterface* m_window;
|
|
|
|
|
|
|
|
struct PairBenchInternalData* m_data;
|
2013-03-14 00:04:59 +00:00
|
|
|
|
2013-03-13 22:03:08 +00:00
|
|
|
public:
|
|
|
|
|
2013-03-14 00:04:59 +00:00
|
|
|
PairBench();
|
|
|
|
virtual ~PairBench();
|
|
|
|
|
2013-03-13 22:03:08 +00:00
|
|
|
virtual void initPhysics(const ConstructionInfo& ci);
|
|
|
|
|
|
|
|
virtual void exitPhysics();
|
|
|
|
|
|
|
|
virtual const char* getName()
|
|
|
|
{
|
|
|
|
return "PairBench";
|
|
|
|
}
|
|
|
|
static GpuDemo* MyCreateFunc()
|
|
|
|
{
|
|
|
|
GpuDemo* demo = new PairBench;
|
|
|
|
return demo;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
virtual void renderScene();
|
|
|
|
|
|
|
|
virtual void clientMoveAndDisplay();
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|