render the wheels of the ForkLiftDemo

This commit is contained in:
erwincoumans
2015-03-28 12:36:57 -07:00
parent cba140431e
commit d605cc1cd7
4 changed files with 49 additions and 5 deletions

View File

@@ -30,6 +30,12 @@ struct MyGraphicsPhysicsBridge : public GraphicsPhysicsBridge
:m_glApp(glApp), m_debugDraw(0), m_curColor(0)
{
}
virtual struct CommonRenderInterface* getRenderInterface()
{
return m_glApp->m_renderer;
}
virtual void createRigidBodyGraphicsObject(btRigidBody* body, const btVector3& color)
{
createCollisionObjectGraphicsObject(body,color);