expose basic parameters in SimpleOpenGL3App, test with accumulated hinge angle, GUI is still preliminary
This commit is contained in:
@@ -140,6 +140,11 @@ struct MyGraphicsPhysicsBridge : public GraphicsPhysicsBridge
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
virtual CommonParameterInterface* getParameterInterface()
|
||||
{
|
||||
return m_glApp->m_parameterInterface;
|
||||
}
|
||||
};
|
||||
|
||||
Bullet2RigidBodyDemo::Bullet2RigidBodyDemo(SimpleOpenGL3App* app, CommonPhysicsSetup* physicsSetup)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user