mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-10 01:20:05 +00:00
5784d6ce0b
export 'getKeyboardCallback' for chaining
44 lines
605 B
C++
44 lines
605 B
C++
#ifndef PAIR_BENCH_H
|
|
#define PAIR_BENCH_H
|
|
|
|
#include "../GpuDemo.h"
|
|
|
|
class PairBench : public GpuDemo
|
|
{
|
|
|
|
class GLInstancingRenderer* m_instancingRenderer;
|
|
class btgWindowInterface* m_window;
|
|
|
|
struct PairBenchInternalData* m_data;
|
|
|
|
public:
|
|
|
|
PairBench();
|
|
virtual ~PairBench();
|
|
|
|
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
|
|
|