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:
@@ -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 ());
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user