Added GIMPACT integration for moving concave meshes (interaction with all other Bullet collision shapes)

Thanks a lot to Francisco León Nájera for the contribution!
This commit is contained in:
ejcoumans
2006-11-12 07:54:27 +00:00
parent 125a9c673d
commit 711b737293
2 changed files with 2 additions and 2 deletions

View File

@@ -1830,7 +1830,7 @@ btGIMPACTMeshShape * createMesh()
{
btGIMPACTMeshShape * newtrimeshShape = new btGIMPACTMeshShape(g_trimeshData );
newtrimeshShape->setLocalScaling(btVector3(4.f,4.f,4.f));
OGL_displaylist_register_shape(newtrimeshShape);
// OGL_displaylist_register_shape(newtrimeshShape);
return newtrimeshShape;
}

View File

@@ -44,7 +44,7 @@ subject to the following restrictions:
#include "BMF_Api.h"
#include <stdio.h> //printf debugging
#define USE_DISPLAY_LISTS 1
//#define USE_DISPLAY_LISTS 1
#ifdef USE_DISPLAY_LISTS
#include <map>