rename ExampleInterface -> CommonExampleInterface to be a little bit more consistent in 'CommonInterfaces' naming
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user