use btHullShape/btConvexHull to reduce vertices in a convex hull. Perhaps we always use this, to avoid convex objects with too many vertices...?

This commit is contained in:
ejcoumans
2008-01-24 01:35:34 +00:00
parent 03a05c25af
commit c86fea11dc
2 changed files with 39 additions and 8 deletions

View File

@@ -476,9 +476,9 @@ void GL_ShapeDrawer::drawOpenGL(btScalar* m, const btCollisionShape* shape, cons
convexShape->setUserPointer(hull);
printf("numTriangles = %d\n", hull->numTriangles ());
printf("numIndices = %d\n", hull->numIndices ());
printf("numVertices = %d\n", hull->numVertices ());
// printf("numTriangles = %d\n", hull->numTriangles ());
// printf("numIndices = %d\n", hull->numIndices ());
// printf("numVertices = %d\n", hull->numVertices ());
}