more fixes towards working convex-convex, in case of (too) many edge-edge cases:

1) sample directions over a unit sphere and
2) add a contact, using mpr
add missing bullet.pc.cmake file (for old Bullet 2.x)
This commit is contained in:
erwin coumans
2014-01-09 16:22:34 -08:00
parent 080d22d6ec
commit 2e55d03fd9
11 changed files with 603 additions and 72 deletions

View File

@@ -27,6 +27,8 @@ struct GpuSatCollision
cl_command_queue m_queue;
cl_kernel m_findSeparatingAxisKernel;
cl_kernel m_mprPenetrationKernel;
cl_kernel m_findSeparatingAxisUnitSphereKernel;
cl_kernel m_findSeparatingAxisVertexFaceKernel;
cl_kernel m_findSeparatingAxisEdgeEdgeKernel;
@@ -57,6 +59,7 @@ struct GpuSatCollision
cl_kernel m_processCompoundPairsPrimitivesKernel;
b3OpenCLArray<b3Vector3> m_unitSphereDirections;
b3OpenCLArray<int> m_totalContactsOut;