SIMD hull collision (#93)
SIMD based hull collision inspired by example code from @cairnc in #54 <img width="1676" height="1332" alt="image" src="https://github.com/user-attachments/assets/58b137bd-bf7b-4c99-863c-64341b973a3d" /> - Fixed #78 - Fixed #85 and fixed CI to error on UB. - Updated benchmarks - Added AMD scalar benchmarks - Added Neon benchmarks - More determinism unit tests - Sample leak detection - Added b3Body_AllowFastRotation - Added b3Body_IsFastRotationAllowed - Bumped b3HullData version - Bumped b3CompoundData version
This commit is contained in:
parent
d421e45c82
commit
c37cfe4cd7
84 changed files with 3898 additions and 1151 deletions
|
|
@ -12,12 +12,21 @@ extern "C"
|
|||
{
|
||||
#endif
|
||||
|
||||
#define MESH_DROP_GRID_COUNT 20
|
||||
|
||||
// Thin fast boxes dropped on a wave mesh. Stresses continuous collision and mesh contact
|
||||
// stability, and doubles as a determinism scenario via the sleep hash.
|
||||
typedef struct MeshDropData
|
||||
{
|
||||
struct b3MeshData* mesh;
|
||||
b3BodyId bodies[MESH_DROP_GRID_COUNT * MESH_DROP_GRID_COUNT];
|
||||
int stepCount;
|
||||
int sleepStep;
|
||||
uint32_t hash;
|
||||
} MeshDropData;
|
||||
|
||||
MeshDropData CreateMeshDrop( b3WorldId worldId, b3Pos origin );
|
||||
bool UpdateMeshDrop( b3WorldId worldId, MeshDropData* data );
|
||||
void DestroyMeshDrop( MeshDropData* data );
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Reference in a new issue