enable aabb compression in ColladaDemo btTriangleMesh.

This commit is contained in:
ejcoumans
2007-03-12 23:20:41 +00:00
parent 0a5b19864e
commit 897d1491fa

View File

@@ -1162,7 +1162,7 @@ void ColladaConverter::ConvertRigidBodyRef( btRigidBodyInput& rbInput,btRigidBod
} else } else
{ {
printf("static concave triangle <mesh> added\n"); printf("static concave triangle <mesh> added\n");
bool useQuantizedAabbCompression = false; bool useQuantizedAabbCompression = true;
rbOutput.m_colShape = new btBvhTriangleMeshShape(trimesh,useQuantizedAabbCompression); rbOutput.m_colShape = new btBvhTriangleMeshShape(trimesh,useQuantizedAabbCompression);
//rbOutput.m_colShape = new btBvhTriangleMeshShape(trimesh); //rbOutput.m_colShape = new btBvhTriangleMeshShape(trimesh);
//rbOutput.m_colShape = new btConvexTriangleMeshShape(trimesh); //rbOutput.m_colShape = new btConvexTriangleMeshShape(trimesh);