fixed many memory leaks

added working shadows, using basic shadow mapping
This commit is contained in:
erwin coumans
2013-06-30 23:19:14 -07:00
parent f2cc840c31
commit 6d6ef5d3dc
28 changed files with 581 additions and 226 deletions

View File

@@ -2,6 +2,7 @@
#define SHADOW_MAP_DEMO_H
#include "../GpuDemo.h"
#include "Bullet3Common/b3Vector3.h"
class ShadowMapDemo : public GpuDemo
{
@@ -23,6 +24,9 @@ public:
virtual void renderScene();
void createConcaveMesh(const ConstructionInfo& ci, const char* fileName, const b3Vector3& shift, const b3Vector3& scaling);
virtual void clientMoveAndDisplay();
static GpuDemo* MyCreateFunc()