remove redundant/wrong glClear

always initialize mpr OpenCL kernels
add a second ragdoll to the demo
This commit is contained in:
Erwin Coumans committed 2014-01-16 19:18:06 -08:00
1 parent 6142bdca0a
commit 1a507cca52
3 files changed
+3 -3

No files matched your search

+2 -1
View File
@@ -366,7 +366,8 @@ void RagDollDemo::initPhysics()
btVector3 offset(0,3,0);
RagDoll* doll = new RagDoll(this->m_dynamicsWorld,offset,m_glApp);
offset.setValue(0,6,0);
doll = new RagDoll(this->m_dynamicsWorld,offset,m_glApp);
m_glApp->m_instancingRenderer->writeTransforms();