Added SoftBody demo, contribution by Nathanael Presson. Will integrate into Bullet broadphase.

Added very basic drawTriangle for btIDebugDraw, useful for basic softbody visualization.
Added btGjkEpa2, contribution by Nathanael Presson. Improved version of EPA penetration depth computation, more suitable for multi-core/SPU (less memory usage). Note: btGjkEpa2 is not enabled by default currently.
This commit is contained in:
erwin.coumans
2008-03-30 23:08:06 +00:00
parent 8d38ef49ef
commit d4698cb3d5
16 changed files with 4737 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ GLDebugDrawer::GLDebugDrawer()
}
void GLDebugDrawer::drawLine(const btVector3& from,const btVector3& to,const btVector3& color)
{
if (m_debugMode > 0)
// if (m_debugMode > 0)
{
glBegin(GL_LINES);
glColor3f(color.getX(), color.getY(), color.getZ());