only update aabb of active objects, thanks Peter Tchernev for reporting (http://bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=1764 )
move debug aabb rendering from updateAabb to debugDrawWorld
This commit is contained in:
1 parent
bf5a4a7d39
commit
f1be4ab221
15 files changed
+68
-16
No files matched your search
@@ -1890,6 +1890,9 @@ void ConcaveDemo::clientMoveAndDisplay()
|
||||
m_clock.reset();
|
||||
m_dynamicsWorld->stepSimulation(dt);
|
||||
|
||||
//optional but useful: debug drawing
|
||||
m_dynamicsWorld->debugDrawWorld();
|
||||
|
||||
renderme();
|
||||
|
||||
glFlush();
|
||||
|
||||
Reference in new issue
Block a user