add gjk/epa (host only), possibly improve convex-convex with many edge-edge tests

more preparation towards persistent/incremental contact cache
This commit is contained in:
erwincoumans
2013-07-31 23:22:43 -07:00
parent 7992ff816b
commit 34de49d8a4
24 changed files with 3020 additions and 118 deletions

View File

@@ -18,6 +18,9 @@ subject to the following restrictions:
#include "Bullet3Common/b3Int4.h"
#define B3_NEW_PAIR_MARKER -1
#define B3_REMOVED_PAIR_MARKER -2
//typedef b3Int2 b3BroadphasePair;
struct b3BroadphasePair : public b3Int4
{
@@ -34,6 +37,8 @@ struct b3BroadphasePair : public b3Int4
x = yy;
y = xx;
}
z = B3_NEW_PAIR_MARKER;
w = B3_NEW_PAIR_MARKER;
}
};