expose basic parameters in SimpleOpenGL3App, test with accumulated hinge angle, GUI is still preliminary

This commit is contained in:
Erwin Coumans
2014-07-31 11:47:04 -07:00
parent d798144167
commit 4b8c8e7910
13 changed files with 310 additions and 81 deletions

View File

@@ -7,11 +7,14 @@ class btBoxShape;
class btTransform;
class btCollisionShape;
#include "LinearMath/btVector3.h"
#include "CommonParameterInterface.h"
class btDiscreteDynamicsWorld;
///The GraphicsPhysicsBridge let's the graphics engine create graphics representation and synchronize
struct GraphicsPhysicsBridge
{
virtual void createRigidBodyGraphicsObject(btRigidBody* body,const btVector3& color)
{
}
@@ -24,6 +27,12 @@ struct GraphicsPhysicsBridge
virtual void createPhysicsDebugDrawer( btDiscreteDynamicsWorld* rbWorld)
{
}
virtual CommonParameterInterface* getParameterInterface()
{
return 0;
}
};
struct CommonPhysicsSetup