diff --git a/examples/BasicDemo/BasicExample.cpp b/examples/BasicDemo/BasicExample.cpp index 1273371db..5e251e6c2 100644 --- a/examples/BasicDemo/BasicExample.cpp +++ b/examples/BasicDemo/BasicExample.cpp @@ -128,7 +128,7 @@ void BasicExample::renderScene() -ExampleInterface* BasicExampleCreateFunc(PhysicsInterface* pint, GUIHelperInterface* helper, int option) +CommonExampleInterface* BasicExampleCreateFunc(PhysicsInterface* pint, GUIHelperInterface* helper, int option) { return new BasicExample(helper); } diff --git a/examples/BasicDemo/BasicExample.h b/examples/BasicDemo/BasicExample.h index c2c02b10c..831244b9b 100644 --- a/examples/BasicDemo/BasicExample.h +++ b/examples/BasicDemo/BasicExample.h @@ -16,7 +16,7 @@ subject to the following restrictions: #ifndef BASIC_EXAMPLE_H #define BASIC_EXAMPLE_H -class ExampleInterface* BasicExampleCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* BasicExampleCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif //BASIC_DEMO_PHYSICS_SETUP_H diff --git a/examples/BasicDemo/main.cpp b/examples/BasicDemo/main.cpp index a3ee515db..b829f6773 100644 --- a/examples/BasicDemo/main.cpp +++ b/examples/BasicDemo/main.cpp @@ -16,7 +16,7 @@ subject to the following restrictions: #include "BasicExample.h" -#include "../CommonInterfaces/ExampleInterface.h" +#include "../CommonInterfaces/CommonExampleInterface.h" #include "../CommonInterfaces/CommonGUIHelperInterface.h" @@ -30,7 +30,7 @@ int main(int argc, char* argv[]) int option = 0; - ExampleInterface* example = BasicExampleCreateFunc(pint, &noGfx, option); + CommonExampleInterface* example = BasicExampleCreateFunc(pint, &noGfx, option); example->initPhysics(); example->stepSimulation(1.f/60.f); diff --git a/examples/Benchmarks/BenchmarkDemo.cpp b/examples/Benchmarks/BenchmarkDemo.cpp index e52c5d2fc..0e33c57d8 100644 --- a/examples/Benchmarks/BenchmarkDemo.cpp +++ b/examples/Benchmarks/BenchmarkDemo.cpp @@ -1234,7 +1234,7 @@ void BenchmarkDemo::exitPhysics() -struct ExampleInterface* BenchmarkCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) +struct CommonExampleInterface* BenchmarkCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { return new BenchmarkDemo(helper,option); } \ No newline at end of file diff --git a/examples/Benchmarks/BenchmarkDemo.h b/examples/Benchmarks/BenchmarkDemo.h index 191b5b4f8..473d783bd 100644 --- a/examples/Benchmarks/BenchmarkDemo.h +++ b/examples/Benchmarks/BenchmarkDemo.h @@ -15,7 +15,7 @@ subject to the following restrictions: #ifndef BENCHMARK_EXAMPLE_H #define BENCHMARK_EXAMPLE_H -class ExampleInterface* BenchmarkCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* BenchmarkCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); diff --git a/examples/CommonInterfaces/ExampleInterface.h b/examples/CommonInterfaces/CommonExampleInterface.h similarity index 61% rename from examples/CommonInterfaces/ExampleInterface.h rename to examples/CommonInterfaces/CommonExampleInterface.h index 08740ae36..7197be72c 100644 --- a/examples/CommonInterfaces/ExampleInterface.h +++ b/examples/CommonInterfaces/CommonExampleInterface.h @@ -1,14 +1,16 @@ -#ifndef EXAMPLE_INTERFACE_H -#define EXAMPLE_INTERFACE_H -class ExampleInterface +#ifndef COMMON_EXAMPLE_INTERFACE_H +#define COMMON_EXAMPLE_INTERFACE_H + + +class CommonExampleInterface { public: - typedef class ExampleInterface* (CreateFunc)(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); + typedef class CommonExampleInterface* (CreateFunc)(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); - virtual ~ExampleInterface() + virtual ~CommonExampleInterface() { } @@ -25,4 +27,4 @@ public: -#endif //EXAMPLE_INTERFACE_H +#endif //COMMON_EXAMPLE_INTERFACE_H diff --git a/examples/CommonInterfaces/CommonMultiBodyBase.h b/examples/CommonInterfaces/CommonMultiBodyBase.h index ab4531673..4fa9537b9 100644 --- a/examples/CommonInterfaces/CommonMultiBodyBase.h +++ b/examples/CommonInterfaces/CommonMultiBodyBase.h @@ -11,14 +11,14 @@ #include "BulletDynamics/Featherstone/btMultiBodyLinkCollider.h" #include "btBulletDynamicsCommon.h" -#include "ExampleInterface.h" +#include "CommonExampleInterface.h" #include "CommonGUIHelperInterface.h" #include "CommonRenderInterface.h" #include "CommonGraphicsAppInterface.h" #include "CommonWindowInterface.h" #include "CommonCameraInterface.h" -struct CommonMultiBodyBase : public ExampleInterface +struct CommonMultiBodyBase : public CommonExampleInterface { //keep the collision shapes, for deletion/cleanup btAlignedObjectArray m_collisionShapes; diff --git a/examples/CommonInterfaces/CommonRigidBodyBase.h b/examples/CommonInterfaces/CommonRigidBodyBase.h index 6b5adb9ca..a76de8f41 100644 --- a/examples/CommonInterfaces/CommonRigidBodyBase.h +++ b/examples/CommonInterfaces/CommonRigidBodyBase.h @@ -4,7 +4,7 @@ #include "btBulletDynamicsCommon.h" -#include "ExampleInterface.h" +#include "CommonExampleInterface.h" #include "CommonGUIHelperInterface.h" #include "CommonRenderInterface.h" #include "CommonCameraInterface.h" @@ -12,7 +12,7 @@ #include "CommonGraphicsAppInterface.h" #include "CommonWindowInterface.h" -struct CommonRigidBodyBase : public ExampleInterface +struct CommonRigidBodyBase : public CommonExampleInterface { //keep the collision shapes, for deletion/cleanup btAlignedObjectArray m_collisionShapes; diff --git a/examples/Constraints/ConstraintDemo.cpp b/examples/Constraints/ConstraintDemo.cpp index 19a6e76ed..c18a43710 100644 --- a/examples/Constraints/ConstraintDemo.cpp +++ b/examples/Constraints/ConstraintDemo.cpp @@ -870,7 +870,7 @@ void AllConstraintDemo::keyboardCallback(unsigned char key, int x, int y) } } -class ExampleInterface* AllConstraintCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) +class CommonExampleInterface* AllConstraintCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { return new AllConstraintDemo(helper); } \ No newline at end of file diff --git a/examples/Constraints/ConstraintDemo.h b/examples/Constraints/ConstraintDemo.h index 864b4faad..6b21d5709 100644 --- a/examples/Constraints/ConstraintDemo.h +++ b/examples/Constraints/ConstraintDemo.h @@ -15,7 +15,7 @@ subject to the following restrictions: #ifndef ALL_CONSTRAINT_DEMO_H #define ALL_CONSTRAINT_DEMO_H -class ExampleInterface* AllConstraintCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* AllConstraintCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif //ALL_CONSTRAINT_DEMO_H diff --git a/examples/Constraints/ConstraintPhysicsSetup.cpp b/examples/Constraints/ConstraintPhysicsSetup.cpp index 3ccbb08ee..f6bf81a88 100644 --- a/examples/Constraints/ConstraintPhysicsSetup.cpp +++ b/examples/Constraints/ConstraintPhysicsSetup.cpp @@ -144,7 +144,7 @@ void ConstraintPhysicsSetup::initPhysics() m_guiHelper->autogenerateGraphicsObjects(m_dynamicsWorld); } -class ExampleInterface* ConstraintCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) +class CommonExampleInterface* ConstraintCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { return new ConstraintPhysicsSetup(helper); } diff --git a/examples/Constraints/ConstraintPhysicsSetup.h b/examples/Constraints/ConstraintPhysicsSetup.h index c34374892..241a2b02f 100644 --- a/examples/Constraints/ConstraintPhysicsSetup.h +++ b/examples/Constraints/ConstraintPhysicsSetup.h @@ -1,6 +1,6 @@ #ifndef CONSTAINT_PHYSICS_SETUP_H #define CONSTAINT_PHYSICS_SETUP_H -class ExampleInterface* ConstraintCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* ConstraintCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif //CONSTAINT_PHYSICS_SETUP_H diff --git a/examples/Constraints/Dof6Spring2Setup.cpp b/examples/Constraints/Dof6Spring2Setup.cpp index b346a9fb9..c78e76220 100644 --- a/examples/Constraints/Dof6Spring2Setup.cpp +++ b/examples/Constraints/Dof6Spring2Setup.cpp @@ -473,7 +473,7 @@ void Dof6Spring2Setup::stepSimulation(float deltaTime) m_dynamicsWorld->stepSimulation(deltaTime); } -class ExampleInterface* Dof6Spring2CreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) +class CommonExampleInterface* Dof6Spring2CreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { return new Dof6Spring2Setup(helper); } diff --git a/examples/Constraints/Dof6Spring2Setup.h b/examples/Constraints/Dof6Spring2Setup.h index 8d6a2df2a..8cda64578 100644 --- a/examples/Constraints/Dof6Spring2Setup.h +++ b/examples/Constraints/Dof6Spring2Setup.h @@ -1,6 +1,6 @@ #ifndef GENERIC_6DOF_SPRING2_CONSTRAINT_DEMO_H #define GENERIC_6DOF_SPRING2_CONSTRAINT_DEMO_H -class ExampleInterface* Dof6Spring2CreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* Dof6Spring2CreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif //GENERIC_6DOF_SPRING2_CONSTRAINT_DEMO_H diff --git a/examples/ExampleBrowser/EmptyBrowser.h b/examples/ExampleBrowser/EmptyBrowser.h index 6bf3dfaa6..240e4d17f 100644 --- a/examples/ExampleBrowser/EmptyBrowser.h +++ b/examples/ExampleBrowser/EmptyBrowser.h @@ -10,7 +10,7 @@ public: EmptyExample m_emptyExample; - virtual ExampleInterface* getCurrentExample() + virtual CommonExampleInterface* getCurrentExample() { return &m_emptyExample; } diff --git a/examples/ExampleBrowser/EmptyExample.h b/examples/ExampleBrowser/EmptyExample.h index 7093c9bee..862f97d0f 100644 --- a/examples/ExampleBrowser/EmptyExample.h +++ b/examples/ExampleBrowser/EmptyExample.h @@ -1,16 +1,16 @@ #ifndef EMPTY_EXAMPLE_H #define EMPTY_EXAMPLE_H -#include "../CommonInterfaces/ExampleInterface.h" +#include "../CommonInterfaces/CommonExampleInterface.h" -class EmptyExample : public ExampleInterface +class EmptyExample : public CommonExampleInterface { public: EmptyExample() {} virtual ~EmptyExample(){} - static ExampleInterface* CreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) + static CommonExampleInterface* CreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { return new EmptyExample; } diff --git a/examples/ExampleBrowser/ExampleBrowserInterface.h b/examples/ExampleBrowser/ExampleBrowserInterface.h index 8e5881e71..a3cb5e8d5 100644 --- a/examples/ExampleBrowser/ExampleBrowserInterface.h +++ b/examples/ExampleBrowser/ExampleBrowserInterface.h @@ -1,7 +1,7 @@ #ifndef EXAMPLE_BROWSER_GUI_H #define EXAMPLE_BROWSER_GUI_H -#include "../CommonInterfaces/ExampleInterface.h" +#include "../CommonInterfaces/CommonExampleInterface.h" class ExampleBrowserInterface { @@ -9,7 +9,7 @@ class ExampleBrowserInterface virtual ~ExampleBrowserInterface() {} - virtual ExampleInterface* getCurrentExample() = 0; + virtual CommonExampleInterface* getCurrentExample() = 0; virtual bool init(int argc, char* argv[])=0; diff --git a/examples/ExampleBrowser/ExampleEntries.cpp b/examples/ExampleBrowser/ExampleEntries.cpp index 819f86e87..3c42780c5 100644 --- a/examples/ExampleBrowser/ExampleEntries.cpp +++ b/examples/ExampleBrowser/ExampleEntries.cpp @@ -32,7 +32,7 @@ struct ExampleEntry int m_menuLevel; const char* m_name; const char* m_description; - ExampleInterface::CreateFunc* m_createFunc; + CommonExampleInterface::CreateFunc* m_createFunc; int m_option; ExampleEntry(int menuLevel, const char* name) @@ -40,7 +40,7 @@ struct ExampleEntry { } - ExampleEntry(int menuLevel, const char* name,const char* description, ExampleInterface::CreateFunc* createFunc, int option=0) + ExampleEntry(int menuLevel, const char* name,const char* description, CommonExampleInterface::CreateFunc* createFunc, int option=0) :m_menuLevel(menuLevel), m_name(name), m_description(description), m_createFunc(createFunc), m_option(option) { } @@ -207,7 +207,7 @@ void ExampleEntries::initExampleEntries() } -void ExampleEntries::registerExampleEntry(int menuLevel, const char* name,const char* description, ExampleInterface::CreateFunc* createFunc, int option) +void ExampleEntries::registerExampleEntry(int menuLevel, const char* name,const char* description, CommonExampleInterface::CreateFunc* createFunc, int option) { ExampleEntry e( menuLevel,name,description, createFunc, option); gAdditionalRegisteredExamples.push_back(e); @@ -218,7 +218,7 @@ int ExampleEntries::getNumRegisteredExamples() return m_data->m_allExamples.size(); } -ExampleInterface::CreateFunc* ExampleEntries::getExampleCreateFunc(int index) +CommonExampleInterface::CreateFunc* ExampleEntries::getExampleCreateFunc(int index) { return m_data->m_allExamples[index].m_createFunc; } diff --git a/examples/ExampleBrowser/ExampleEntries.h b/examples/ExampleBrowser/ExampleEntries.h index 07171b41b..1e6c56e42 100644 --- a/examples/ExampleBrowser/ExampleEntries.h +++ b/examples/ExampleBrowser/ExampleEntries.h @@ -2,7 +2,7 @@ #ifndef EXAMPLE_ENTRIES_H #define EXAMPLE_ENTRIES_H -#include "../CommonInterfaces/ExampleInterface.h" +#include "../CommonInterfaces/CommonExampleInterface.h" @@ -17,13 +17,13 @@ public: ExampleEntries(); virtual ~ExampleEntries(); - static void registerExampleEntry(int menuLevel, const char* name,const char* description, ExampleInterface::CreateFunc* createFunc, int option=0); + static void registerExampleEntry(int menuLevel, const char* name,const char* description, CommonExampleInterface::CreateFunc* createFunc, int option=0); void initExampleEntries(); int getNumRegisteredExamples(); - ExampleInterface::CreateFunc* getExampleCreateFunc(int index); + CommonExampleInterface::CreateFunc* getExampleCreateFunc(int index); const char* getExampleName(int index); diff --git a/examples/ExampleBrowser/OpenGLExampleBrowser.cpp b/examples/ExampleBrowser/OpenGLExampleBrowser.cpp index 052ce7fc3..c75aeb97b 100644 --- a/examples/ExampleBrowser/OpenGLExampleBrowser.cpp +++ b/examples/ExampleBrowser/OpenGLExampleBrowser.cpp @@ -27,7 +27,7 @@ #include "GwenGUISupport/GwenTextureWindow.h" #include "GwenGUISupport/GraphingTexture.h" #include "../CommonInterfaces/Common2dCanvasInterface.h" -#include "../CommonInterfaces/ExampleInterface.h" +#include "../CommonInterfaces/CommonExampleInterface.h" #include "Bullet3Common/b3CommandLineArgs.h" #include "../OpenGLWindow/SimpleCamera.h" #include "../OpenGLWindow/SimpleOpenGL2Renderer.h" @@ -48,7 +48,7 @@ const char* startFileName = "bulletDemo.txt"; static GwenUserInterface* gui = 0; static int sCurrentDemoIndex = 0; static int sCurrentHightlighted = 0; -static ExampleInterface* sCurrentDemo = 0; +static CommonExampleInterface* sCurrentDemo = 0; static b3AlignedObjectArray allNames; static class ExampleEntries* gAllExamples=0; @@ -233,7 +233,7 @@ void selectDemo(int demoIndex) delete s_guiHelper; s_guiHelper = 0; } - ExampleInterface::CreateFunc* func = gAllExamples->getExampleCreateFunc(demoIndex); + CommonExampleInterface::CreateFunc* func = gAllExamples->getExampleCreateFunc(demoIndex); if (func) { s_parameterInterface->removeAllParameters(); @@ -696,7 +696,7 @@ bool OpenGLExampleBrowser::init(int argc, char* argv[]) -ExampleInterface* OpenGLExampleBrowser::getCurrentExample() +CommonExampleInterface* OpenGLExampleBrowser::getCurrentExample() { btAssert(sCurrentDemo); return sCurrentDemo; diff --git a/examples/ExampleBrowser/OpenGLExampleBrowser.h b/examples/ExampleBrowser/OpenGLExampleBrowser.h index cb973844b..7d181e068 100644 --- a/examples/ExampleBrowser/OpenGLExampleBrowser.h +++ b/examples/ExampleBrowser/OpenGLExampleBrowser.h @@ -10,7 +10,7 @@ public: OpenGLExampleBrowser(class ExampleEntries* examples); virtual ~OpenGLExampleBrowser(); - virtual ExampleInterface* getCurrentExample(); + virtual CommonExampleInterface* getCurrentExample(); virtual bool init(int argc, char* argv[]); diff --git a/examples/ForkLift/ForkLiftDemo.cpp b/examples/ForkLift/ForkLiftDemo.cpp index df380fec3..faa1e2971 100644 --- a/examples/ForkLift/ForkLiftDemo.cpp +++ b/examples/ForkLift/ForkLiftDemo.cpp @@ -34,7 +34,7 @@ class btCollisionShape; #include "BulletDynamics/ConstraintSolver/btHingeConstraint.h" #include "BulletDynamics/ConstraintSolver/btSliderConstraint.h" -#include "../CommonInterfaces/ExampleInterface.h" +#include "../CommonInterfaces/CommonExampleInterface.h" #include "LinearMath/btAlignedObjectArray.h" #include "btBulletCollisionCommon.h" #include "../CommonInterfaces/CommonGUIHelperInterface.h" @@ -43,7 +43,7 @@ class btCollisionShape; #include "../CommonInterfaces/CommonGraphicsAppInterface.h" ///VehicleDemo shows how to setup and use the built-in raycast vehicle -class ForkLiftDemo : public ExampleInterface +class ForkLiftDemo : public CommonExampleInterface { public: @@ -1303,7 +1303,7 @@ btRigidBody* ForkLiftDemo::localCreateRigidBody(btScalar mass, const btTransform return body; } -ExampleInterface* ForkLiftCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) +CommonExampleInterface* ForkLiftCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { return new ForkLiftDemo(helper); } diff --git a/examples/ForkLift/ForkLiftDemo.h b/examples/ForkLift/ForkLiftDemo.h index 4d82eddd4..0510a0088 100644 --- a/examples/ForkLift/ForkLiftDemo.h +++ b/examples/ForkLift/ForkLiftDemo.h @@ -15,7 +15,7 @@ subject to the following restrictions: #ifndef FORKLIFT_DEMO_H #define FORKLIFT_DEMO_H -class ExampleInterface* ForkLiftCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* ForkLiftCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif // FORKLIFT_DEMO_H diff --git a/examples/GyroscopicDemo/GyroscopicSetup.cpp b/examples/GyroscopicDemo/GyroscopicSetup.cpp index 9ee3c4e1b..dfa24df33 100644 --- a/examples/GyroscopicDemo/GyroscopicSetup.cpp +++ b/examples/GyroscopicDemo/GyroscopicSetup.cpp @@ -123,7 +123,7 @@ void GyroscopicSetup::physicsDebugDraw(int debugFlags) } -class ExampleInterface* GyroscopicCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) +class CommonExampleInterface* GyroscopicCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { return new GyroscopicSetup(helper); } \ No newline at end of file diff --git a/examples/GyroscopicDemo/GyroscopicSetup.h b/examples/GyroscopicDemo/GyroscopicSetup.h index 42a63fb1e..9ffcbd4c5 100644 --- a/examples/GyroscopicDemo/GyroscopicSetup.h +++ b/examples/GyroscopicDemo/GyroscopicSetup.h @@ -2,6 +2,6 @@ #ifndef GYROSCOPIC_SETUP_H #define GYROSCOPIC_SETUP_H -class ExampleInterface* GyroscopicCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* GyroscopicCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif //GYROSCOPIC_SETUP_H diff --git a/examples/Importers/ImportBsp/ImportBspExample.cpp b/examples/Importers/ImportBsp/ImportBspExample.cpp index 5b3c39aaa..02384f66b 100644 --- a/examples/Importers/ImportBsp/ImportBspExample.cpp +++ b/examples/Importers/ImportBsp/ImportBspExample.cpp @@ -276,7 +276,7 @@ char* makeExeToBspFilename(const char* lpCmdLine) } -struct ExampleInterface* ImportBspCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) +struct CommonExampleInterface* ImportBspCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { BspDemo* demo = new BspDemo(helper); diff --git a/examples/Importers/ImportBsp/ImportBspExample.h b/examples/Importers/ImportBsp/ImportBspExample.h index 3e8a6b4de..297aa6216 100644 --- a/examples/Importers/ImportBsp/ImportBspExample.h +++ b/examples/Importers/ImportBsp/ImportBspExample.h @@ -15,7 +15,7 @@ subject to the following restrictions: #ifndef BSP_DEMO_H #define BSP_DEMO_H -class ExampleInterface* ImportBspCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* ImportBspCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif //BSP_DEMO_H diff --git a/examples/Importers/ImportColladaDemo/ImportColladaSetup.cpp b/examples/Importers/ImportColladaDemo/ImportColladaSetup.cpp index 001307ecb..746edab27 100644 --- a/examples/Importers/ImportColladaDemo/ImportColladaSetup.cpp +++ b/examples/Importers/ImportColladaDemo/ImportColladaSetup.cpp @@ -197,7 +197,7 @@ void ImportColladaSetup::initPhysics() } -class ExampleInterface* ImportColladaCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) +class CommonExampleInterface* ImportColladaCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { return new ImportColladaSetup(helper); } \ No newline at end of file diff --git a/examples/Importers/ImportColladaDemo/ImportColladaSetup.h b/examples/Importers/ImportColladaDemo/ImportColladaSetup.h index 550ca464a..954167025 100644 --- a/examples/Importers/ImportColladaDemo/ImportColladaSetup.h +++ b/examples/Importers/ImportColladaDemo/ImportColladaSetup.h @@ -19,7 +19,7 @@ subject to the following restrictions: #ifndef IMPORT_COLLADA_SETUP_H #define IMPORT_COLLADA_SETUP_H -class ExampleInterface* ImportColladaCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* ImportColladaCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif //IMPORT_COLLADA_SETUP_H diff --git a/examples/Importers/ImportObjDemo/ImportObjExample.cpp b/examples/Importers/ImportObjDemo/ImportObjExample.cpp index 0c2b32ea1..5088733db 100644 --- a/examples/Importers/ImportObjDemo/ImportObjExample.cpp +++ b/examples/Importers/ImportObjDemo/ImportObjExample.cpp @@ -99,7 +99,7 @@ void ImportObjSetup::initPhysics() } } - ExampleInterface* ImportObjCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) + CommonExampleInterface* ImportObjCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { return new ImportObjSetup(helper); } diff --git a/examples/Importers/ImportObjDemo/ImportObjExample.h b/examples/Importers/ImportObjDemo/ImportObjExample.h index 472d84b95..305736830 100644 --- a/examples/Importers/ImportObjDemo/ImportObjExample.h +++ b/examples/Importers/ImportObjDemo/ImportObjExample.h @@ -1,7 +1,7 @@ #ifndef IMPORT_OBJ_EXAMPLE_H #define IMPORT_OBJ_EXAMPLE_H -class ExampleInterface* ImportObjCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* ImportObjCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif //IMPORT_OBJ_EXAMPLE_H diff --git a/examples/Importers/ImportSTLDemo/ImportSTLSetup.cpp b/examples/Importers/ImportSTLDemo/ImportSTLSetup.cpp index 1ee872059..7af6ccc96 100644 --- a/examples/Importers/ImportSTLDemo/ImportSTLSetup.cpp +++ b/examples/Importers/ImportSTLDemo/ImportSTLSetup.cpp @@ -92,7 +92,7 @@ void ImportSTLSetup::initPhysics() } } -class ExampleInterface* ImportSTLCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) +class CommonExampleInterface* ImportSTLCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { return new ImportSTLSetup(helper); } diff --git a/examples/Importers/ImportSTLDemo/ImportSTLSetup.h b/examples/Importers/ImportSTLDemo/ImportSTLSetup.h index 12abf8835..75c5da01c 100644 --- a/examples/Importers/ImportSTLDemo/ImportSTLSetup.h +++ b/examples/Importers/ImportSTLDemo/ImportSTLSetup.h @@ -1,6 +1,6 @@ #ifndef IMPORT_STL_SETUP_H #define IMPORT_STL_SETUP_H -class ExampleInterface* ImportSTLCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* ImportSTLCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif //IMPORT_OBJ_SETUP_H diff --git a/examples/Importers/ImportURDFDemo/ImportURDFSetup.cpp b/examples/Importers/ImportURDFDemo/ImportURDFSetup.cpp index e3283fa25..ff21149d1 100644 --- a/examples/Importers/ImportURDFDemo/ImportURDFSetup.cpp +++ b/examples/Importers/ImportURDFDemo/ImportURDFSetup.cpp @@ -270,7 +270,7 @@ void ImportUrdfSetup::stepSimulation(float deltaTime) } } -class ExampleInterface* ImportURDFCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) +class CommonExampleInterface* ImportURDFCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { return new ImportUrdfSetup(helper, option); diff --git a/examples/Importers/ImportURDFDemo/ImportURDFSetup.h b/examples/Importers/ImportURDFDemo/ImportURDFSetup.h index bfc3291d2..fb7732a39 100644 --- a/examples/Importers/ImportURDFDemo/ImportURDFSetup.h +++ b/examples/Importers/ImportURDFDemo/ImportURDFSetup.h @@ -2,6 +2,6 @@ #define IMPORT_URDF_SETUP_H -class ExampleInterface* ImportURDFCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* ImportURDFCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif //IMPORT_URDF_SETUP_H diff --git a/examples/MultiBody/MultiBodyCustomURDFDemo.cpp b/examples/MultiBody/MultiBodyCustomURDFDemo.cpp index 34131be2b..8c41d0b06 100644 --- a/examples/MultiBody/MultiBodyCustomURDFDemo.cpp +++ b/examples/MultiBody/MultiBodyCustomURDFDemo.cpp @@ -142,7 +142,7 @@ void MultiBodyCustomURDFDemo::stepSimulation(float deltaTime) } -class ExampleInterface* MultiBodyCustomURDFDemoCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) +class CommonExampleInterface* MultiBodyCustomURDFDemoCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { return new MultiBodyCustomURDFDemo(helper); } \ No newline at end of file diff --git a/examples/MultiBody/MultiBodyCustomURDFDemo.h b/examples/MultiBody/MultiBodyCustomURDFDemo.h index f84b6d72c..c84f2aa14 100644 --- a/examples/MultiBody/MultiBodyCustomURDFDemo.h +++ b/examples/MultiBody/MultiBodyCustomURDFDemo.h @@ -15,6 +15,6 @@ subject to the following restrictions: #ifndef MULTI_DOF_CUSTOM_URDF_DEMO_H #define MULTI_DOF_CUSTOM_URDF_DEMO_H -class ExampleInterface* MultiBodyCustomURDFDemoCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* MultiBodyCustomURDFDemoCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif //MULTI_DOF_CUSTOM_URDF_DEMO_H diff --git a/examples/MultiBody/MultiDofDemo.cpp b/examples/MultiBody/MultiDofDemo.cpp index 3c8224132..b324ff20e 100644 --- a/examples/MultiBody/MultiDofDemo.cpp +++ b/examples/MultiBody/MultiDofDemo.cpp @@ -418,7 +418,7 @@ void MultiDofDemo::addBoxes_testMultiDof() } } -class ExampleInterface* MultiDofCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) +class CommonExampleInterface* MultiDofCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { return new MultiDofDemo(helper); } \ No newline at end of file diff --git a/examples/MultiBody/MultiDofDemo.h b/examples/MultiBody/MultiDofDemo.h index 601d48421..4a5a54873 100644 --- a/examples/MultiBody/MultiDofDemo.h +++ b/examples/MultiBody/MultiDofDemo.h @@ -2,7 +2,7 @@ #ifndef MULTI_DOF_DEMO_H #define MULTI_DOF_DEMO_H -class ExampleInterface* MultiDofCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* MultiDofCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif //MULTI_DOF_DEMO_H diff --git a/examples/MultiBody/TestJointTorqueSetup.cpp b/examples/MultiBody/TestJointTorqueSetup.cpp index 81c070271..5e6aef65a 100644 --- a/examples/MultiBody/TestJointTorqueSetup.cpp +++ b/examples/MultiBody/TestJointTorqueSetup.cpp @@ -269,7 +269,7 @@ void TestJointTorqueSetup::stepSimulation(float deltaTime) } -class ExampleInterface* TestJointTorqueCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) +class CommonExampleInterface* TestJointTorqueCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { return new TestJointTorqueSetup(helper); } \ No newline at end of file diff --git a/examples/MultiBody/TestJointTorqueSetup.h b/examples/MultiBody/TestJointTorqueSetup.h index 19ab5004f..26cb530a2 100644 --- a/examples/MultiBody/TestJointTorqueSetup.h +++ b/examples/MultiBody/TestJointTorqueSetup.h @@ -1,7 +1,7 @@ #ifndef TEST_JOINT_TORQUE_SETUP_H #define TEST_JOINT_TORQUE_SETUP_H -class ExampleInterface* TestJointTorqueCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* TestJointTorqueCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif //TEST_JOINT_TORQUE_SETUP_H diff --git a/examples/MultiBody/main.cpp b/examples/MultiBody/main.cpp index 5891fb4c6..54ee65a2a 100644 --- a/examples/MultiBody/main.cpp +++ b/examples/MultiBody/main.cpp @@ -16,7 +16,7 @@ subject to the following restrictions: #include "MultiBodyCustomURDFDemo.h" -#include "../CommonInterfaces/ExampleInterface.h" +#include "../CommonInterfaces/CommonExampleInterface.h" #include "../CommonInterfaces/CommonGUIHelperInterface.h" @@ -30,7 +30,7 @@ int main(int argc, char* argv[]) int option = 0; - ExampleInterface* example = MultiBodyCustomURDFDemoCreateFunc(pint, &noGfx, option); + CommonExampleInterface* example = MultiBodyCustomURDFDemoCreateFunc(pint, &noGfx, option); example->initPhysics(); example->stepSimulation(1.f/60.f); diff --git a/examples/Planar2D/Planar2D.cpp b/examples/Planar2D/Planar2D.cpp index 6db5ae3c9..c74c21744 100644 --- a/examples/Planar2D/Planar2D.cpp +++ b/examples/Planar2D/Planar2D.cpp @@ -325,7 +325,7 @@ void Planar2D::exitPhysics() m_box2dbox2dAlgo = 0; } -ExampleInterface* Planar2DCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) +CommonExampleInterface* Planar2DCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { return new Planar2D(helper); } diff --git a/examples/Planar2D/Planar2D.h b/examples/Planar2D/Planar2D.h index e786f6bcc..cdae4d6b4 100644 --- a/examples/Planar2D/Planar2D.h +++ b/examples/Planar2D/Planar2D.h @@ -15,7 +15,7 @@ subject to the following restrictions: #ifndef PLANAR2D_H #define PLANAR2D_H -class ExampleInterface* Planar2DCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* Planar2DCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif //BOX2D_DEMO_H diff --git a/examples/RenderingExamples/CoordinateSystemDemo.cpp b/examples/RenderingExamples/CoordinateSystemDemo.cpp index 0253535bf..ed8df0677 100644 --- a/examples/RenderingExamples/CoordinateSystemDemo.cpp +++ b/examples/RenderingExamples/CoordinateSystemDemo.cpp @@ -3,11 +3,11 @@ #include "../CommonInterfaces/CommonGraphicsAppInterface.h" #include "../CommonInterfaces/CommonRenderInterface.h" -#include "../CommonInterfaces/ExampleInterface.h" +#include "../CommonInterfaces/CommonExampleInterface.h" #include "LinearMath/btTransform.h" #include "../CommonInterfaces/CommonGUIHelperInterface.h" ///quick demo showing the right-handed coordinate system and positive rotations around each axis -class CoordinateSystemDemo : public ExampleInterface +class CoordinateSystemDemo : public CommonExampleInterface { CommonGraphicsApp* m_app; float m_x; @@ -141,7 +141,7 @@ public: }; -struct ExampleInterface* CoordinateSystemCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) +struct CommonExampleInterface* CoordinateSystemCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { return new CoordinateSystemDemo(helper->getAppInterface()); } diff --git a/examples/RenderingExamples/CoordinateSystemDemo.h b/examples/RenderingExamples/CoordinateSystemDemo.h index 0da2989ab..8e3085c72 100644 --- a/examples/RenderingExamples/CoordinateSystemDemo.h +++ b/examples/RenderingExamples/CoordinateSystemDemo.h @@ -1,7 +1,7 @@ #ifndef COORDINATE_SYSTEM_DEMO_H #define COORDINATE_SYSTEM_DEMO_H -class ExampleInterface* CoordinateSystemCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* CoordinateSystemCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif //COORDINATE_SYSTEM_DEMO_H diff --git a/examples/RenderingExamples/RaytracerSetup.cpp b/examples/RenderingExamples/RaytracerSetup.cpp index 2bb0c98d9..859f0f64a 100644 --- a/examples/RenderingExamples/RaytracerSetup.cpp +++ b/examples/RenderingExamples/RaytracerSetup.cpp @@ -12,12 +12,12 @@ #include "BulletCollision/NarrowPhaseCollision/btSubSimplexConvexCast.h" //#include "BulletCollision/NarrowPhaseCollision/btGjkConvexCast.h" //#include "BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.h" -#include "../CommonInterfaces/ExampleInterface.h" +#include "../CommonInterfaces/CommonExampleInterface.h" #include "LinearMath/btAlignedObjectArray.h" #include "btBulletCollisionCommon.h" #include "../CommonInterfaces/CommonGUIHelperInterface.h" -struct RaytracerPhysicsSetup : public ExampleInterface +struct RaytracerPhysicsSetup : public CommonExampleInterface { struct CommonGraphicsApp* m_app; @@ -378,7 +378,7 @@ void RaytracerPhysicsSetup::syncPhysicsToGraphics(GraphicsPhysicsBridge& gfxBrid { } - ExampleInterface* RayTracerCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) + CommonExampleInterface* RayTracerCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { return new RaytracerPhysicsSetup(helper->getAppInterface()); } diff --git a/examples/RenderingExamples/RaytracerSetup.h b/examples/RenderingExamples/RaytracerSetup.h index ff8f9f351..f3692af33 100644 --- a/examples/RenderingExamples/RaytracerSetup.h +++ b/examples/RenderingExamples/RaytracerSetup.h @@ -1,6 +1,6 @@ #ifndef RAYTRACER_SETUP_H #define RAYTRACER_SETUP_H -class ExampleInterface* RayTracerCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* RayTracerCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif //RAYTRACER_SETUP_H diff --git a/examples/RenderingExamples/RenderInstancingDemo.cpp b/examples/RenderingExamples/RenderInstancingDemo.cpp index 77b0455ec..61d0d37cc 100644 --- a/examples/RenderingExamples/RenderInstancingDemo.cpp +++ b/examples/RenderingExamples/RenderInstancingDemo.cpp @@ -6,11 +6,11 @@ #include "Bullet3Common/b3Quaternion.h" #include "Bullet3Common/b3AlignedObjectArray.h" #include "../CommonInterfaces/CommonRenderInterface.h" -#include "../CommonInterfaces/ExampleInterface.h" +#include "../CommonInterfaces/CommonExampleInterface.h" #include "../CommonInterfaces/CommonGUIHelperInterface.h" ///quick demo showing the right-handed coordinate system and positive rotations around each axis -class RenderInstancingDemo : public ExampleInterface +class RenderInstancingDemo : public CommonExampleInterface { CommonGraphicsApp* m_app; float m_x; @@ -128,7 +128,7 @@ public: }; -class ExampleInterface* RenderInstancingCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) +class CommonExampleInterface* RenderInstancingCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { return new RenderInstancingDemo(helper->getAppInterface()); } diff --git a/examples/RenderingExamples/RenderInstancingDemo.h b/examples/RenderingExamples/RenderInstancingDemo.h index 4c9d27d54..e71136c22 100644 --- a/examples/RenderingExamples/RenderInstancingDemo.h +++ b/examples/RenderingExamples/RenderInstancingDemo.h @@ -1,6 +1,6 @@ #ifndef RENDER_INSTANCING_DEMO_H #define RENDER_INSTANCING_DEMO_H -class ExampleInterface* RenderInstancingCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* RenderInstancingCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif //RENDER_INSTANCING_DEMO_H diff --git a/examples/SoftDemo/SoftDemo.cpp b/examples/SoftDemo/SoftDemo.cpp index 1eb62fc0a..f779627f2 100644 --- a/examples/SoftDemo/SoftDemo.cpp +++ b/examples/SoftDemo/SoftDemo.cpp @@ -2322,7 +2322,7 @@ void SoftDemo::exitPhysics() } -class ExampleInterface* SoftDemoCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) +class CommonExampleInterface* SoftDemoCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { current_demo = option; return new SoftDemo(helper); diff --git a/examples/SoftDemo/SoftDemo.h b/examples/SoftDemo/SoftDemo.h index 81c544894..c2d974ecb 100644 --- a/examples/SoftDemo/SoftDemo.h +++ b/examples/SoftDemo/SoftDemo.h @@ -19,7 +19,7 @@ subject to the following restrictions: #ifndef SOFT_DEMO_H #define SOFT_DEMO_H -class ExampleInterface* SoftDemoCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* SoftDemoCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif //CCD_PHYSICS_DEMO_H diff --git a/examples/Vehicles/Hinge2Vehicle.cpp b/examples/Vehicles/Hinge2Vehicle.cpp index afeefb72a..b831ca674 100644 --- a/examples/Vehicles/Hinge2Vehicle.cpp +++ b/examples/Vehicles/Hinge2Vehicle.cpp @@ -34,7 +34,7 @@ class btCollisionShape; #include "BulletDynamics/ConstraintSolver/btHingeConstraint.h" #include "BulletDynamics/ConstraintSolver/btSliderConstraint.h" -#include "../CommonInterfaces/ExampleInterface.h" +#include "../CommonInterfaces/CommonExampleInterface.h" #include "LinearMath/btAlignedObjectArray.h" #include "btBulletCollisionCommon.h" #include "../CommonInterfaces/CommonGUIHelperInterface.h" @@ -1317,7 +1317,7 @@ btRigidBody* Hinge2Vehicle::localCreateRigidBody(btScalar mass, const btTransfor return body; } -ExampleInterface* Hinge2VehicleCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) +CommonExampleInterface* Hinge2VehicleCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option) { return new Hinge2Vehicle(helper); } diff --git a/examples/Vehicles/Hinge2Vehicle.h b/examples/Vehicles/Hinge2Vehicle.h index 56869d911..30e347a96 100644 --- a/examples/Vehicles/Hinge2Vehicle.h +++ b/examples/Vehicles/Hinge2Vehicle.h @@ -16,7 +16,7 @@ subject to the following restrictions: #ifndef HINGE2_VEHICLE_H #define HINGE2_VEHICLE_H -class ExampleInterface* Hinge2VehicleCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* Hinge2VehicleCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif // HINGE2_VEHICLE_H diff --git a/examples/VoronoiFracture/VoronoiFractureDemo.cpp b/examples/VoronoiFracture/VoronoiFractureDemo.cpp index 547686f42..f82bc43f7 100644 --- a/examples/VoronoiFracture/VoronoiFractureDemo.cpp +++ b/examples/VoronoiFracture/VoronoiFractureDemo.cpp @@ -813,7 +813,7 @@ static DemoApplication* Create() */ -ExampleInterface* VoronoiFractureCreateFunc(PhysicsInterface* pint, GUIHelperInterface* helper, int option) +CommonExampleInterface* VoronoiFractureCreateFunc(PhysicsInterface* pint, GUIHelperInterface* helper, int option) { return new VoronoiFractureDemo(helper); } diff --git a/examples/VoronoiFracture/VoronoiFractureDemo.h b/examples/VoronoiFracture/VoronoiFractureDemo.h index e4ac01db1..de8b8f8bb 100644 --- a/examples/VoronoiFracture/VoronoiFractureDemo.h +++ b/examples/VoronoiFracture/VoronoiFractureDemo.h @@ -15,7 +15,7 @@ subject to the following restrictions: #ifndef VORONOI_FRACTURE_DEMO_H #define VORONOI_FRACTURE_DEMO_H -class ExampleInterface* VoronoiFractureCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); +class CommonExampleInterface* VoronoiFractureCreateFunc(struct PhysicsInterface* pint, struct GUIHelperInterface* helper, int option); #endif //VORONOI_FRACTURE_DEMO_H