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

@@ -140,6 +140,11 @@ struct MyGraphicsPhysicsBridge : public GraphicsPhysicsBridge
);
}
virtual CommonParameterInterface* getParameterInterface()
{
return m_glApp->m_parameterInterface;
}
};
Bullet2RigidBodyDemo::Bullet2RigidBodyDemo(SimpleOpenGL3App* app, CommonPhysicsSetup* physicsSetup)

View File

@@ -28,7 +28,10 @@ public:
virtual void renderScene();
virtual void physicsDebugDraw();
virtual void stepSimulation(float dt);
virtual CommonPhysicsSetup* getPhysicsSetup()
{
return m_physicsSetup;
}
virtual ~Bullet2RigidBodyDemo();
btVector3 getRayTo(int x,int y);