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

@@ -37,7 +37,7 @@ class btCollisionShape;
#include "../CommonInterfaces/ExampleInterface.h"
#include "LinearMath/btAlignedObjectArray.h"
#include "btBulletCollisionCommon.h"
#include "../ExampleBrowser/GUIHelperInterface.h"
#include "../CommonInterfaces/CommonGUIHelperInterface.h"
#include "../CommonInterfaces/CommonRenderInterface.h"
#include "../CommonInterfaces/CommonWindowInterface.h"
#include "../CommonInterfaces/CommonGraphicsAppInterface.h"
@@ -628,14 +628,12 @@ void ForkLiftDemo::renderScene()
}
}
if (m_guiHelper->getRenderInterface())
{
m_guiHelper->getRenderInterface()->renderScene();
}
updateCamera();
m_guiHelper->render(m_dynamicsWorld);
ATTRIBUTE_ALIGNED16(btScalar) m[16];
int i;