add basic legacy OpenGL2 rendering

This commit is contained in:
erwin coumans
2015-04-20 15:28:52 -07:00
parent 482deb1fca
commit 13396d32bf
14 changed files with 1080 additions and 100 deletions

View File

@@ -424,11 +424,8 @@ struct CommonRigidBodyBase : public ExampleInterface
virtual void renderScene()
{
m_guiHelper->syncPhysicsToGraphics(m_dynamicsWorld);
if (m_guiHelper->getRenderInterface())
{
m_guiHelper->getRenderInterface()->renderScene();
}
m_guiHelper->render(m_dynamicsWorld);
}
};