summaryrefslogtreecommitdiff
path: root/examples/Vehicles
diff options
context:
space:
mode:
authorerwin coumans <erwincoumans@google.com>2015-04-29 13:33:26 -0700
committererwin coumans <erwincoumans@google.com>2015-04-29 13:33:26 -0700
commit40375983d6ba3df3f71d3aa8825750d86ac328f0 (patch)
tree16ab26959c1838c0e2afeb23999eb8cd75bc72c3 /examples/Vehicles
parent4ed666a72a790abd4ea637ac02f3185de09699a0 (diff)
downloadbullet3-40375983d6ba3df3f71d3aa8825750d86ac328f0.tar.gz
rename ExampleInterface -> CommonExampleInterface to be a little bit more consistent in 'CommonInterfaces' naming
Diffstat (limited to 'examples/Vehicles')
-rw-r--r--examples/Vehicles/Hinge2Vehicle.cpp4
-rw-r--r--examples/Vehicles/Hinge2Vehicle.h2
2 files changed, 3 insertions, 3 deletions
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