add broadphase demo (empty skeleton)

This commit is contained in:
Erwin Coumans
2013-03-13 15:03:08 -07:00
parent 3ad76286e6
commit 9e623f6b0f
9 changed files with 267 additions and 124 deletions

View File

@@ -0,0 +1,23 @@
#include "PairBench.h"
#include "BulletCommon/btQuickprof.h"
void PairBench::initPhysics(const ConstructionInfo& ci)
{
CProfileManager::CleanupMemory();
}
void PairBench::exitPhysics()
{
}
void PairBench::renderScene()
{
}
void PairBench::clientMoveAndDisplay()
{
}

View File

@@ -0,0 +1,34 @@
#ifndef PAIR_BENCH_H
#define PAIR_BENCH_H
#include "../GpuDemo.h"
class PairBench : public GpuDemo
{
public:
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