more example browser tweaks, mostly related to (debug) rendering

This commit is contained in:
erwincoumans
2015-05-02 11:40:06 -07:00
parent 01d14f538a
commit 551709a74b
8 changed files with 107 additions and 44 deletions

View File

@@ -140,10 +140,8 @@ struct CommonMultiBodyBase : public CommonExampleInterface
{
m_guiHelper->syncPhysicsToGraphics(m_dynamicsWorld);
if (m_guiHelper->getRenderInterface())
{
m_guiHelper->getRenderInterface()->renderScene();
}
m_guiHelper->render(m_dynamicsWorld);
}
virtual void physicsDebugDraw(int debugDrawFlags)