enable Box2dDemo for Win32 app.
This commit is contained in:
@@ -15,7 +15,14 @@ subject to the following restrictions:
|
||||
#ifndef BOX2D_DEMO_H
|
||||
#define BOX2D_DEMO_H
|
||||
|
||||
#ifdef _WINDOWS
|
||||
#include "Win32DemoApplication.h"
|
||||
#define PlatformDemoApplication Win32DemoApplication
|
||||
#else
|
||||
#include "GlutDemoApplication.h"
|
||||
#define PlatformDemoApplication GlutDemoApplication
|
||||
#endif
|
||||
|
||||
#include "LinearMath/btAlignedObjectArray.h"
|
||||
|
||||
class btBroadphaseInterface;
|
||||
@@ -28,7 +35,7 @@ class btDefaultCollisionConfiguration;
|
||||
class GL_DialogDynamicsWorld;
|
||||
|
||||
///Box2dDemo is good starting point for learning the code base and porting.
|
||||
class Box2dDemo : public GlutDemoApplication
|
||||
class Box2dDemo : public PlatformDemoApplication
|
||||
{
|
||||
|
||||
//keep the collision shapes, for deletion/cleanup
|
||||
|
||||
Reference in New Issue
Block a user