Missing functions (#21)
- add some missing functions - added config.h for users that vendor Box3D - joint unit tests - improve joint limit consistency - extend build matrix
This commit is contained in:
parent
70ba099709
commit
8441b4a06d
31 changed files with 918 additions and 410 deletions
|
|
@ -1020,13 +1020,6 @@ static int EmptyWorldRoundTrip( void )
|
|||
// Exercise every recorded op in a single session, then validate replay at two worker
|
||||
// counts, round-trip through a file, and drive the incremental player. Mirrors the
|
||||
// comprehensive RecordingTest in Box2D's test suite (box2d/test/test_recording.c).
|
||||
static int RecTestAssertDbg( const char* cond, const char* file, int line )
|
||||
{
|
||||
fprintf( stderr, "BOX3D ASSERTION: %s, %s:%d\n", cond, file, line );
|
||||
fflush( stderr );
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int AllOps( void )
|
||||
{
|
||||
b3Recording* rec = b3CreateRecording( 0 );
|
||||
|
|
@ -1049,7 +1042,7 @@ static int AllOps( void )
|
|||
b3ShapeId groundShapeId = b3CreateHullShape( groundId, &groundShapeDef, &groundBox.base );
|
||||
ENSURE( b3Shape_IsValid( groundShapeId ) );
|
||||
|
||||
// Dynamic body with a sphere shape. The name is intentionally longer than B3_NAME_LENGTH so
|
||||
// Dynamic body with a sphere shape. The name is intentionally longer than B3_BODY_NAME_LENGTH so
|
||||
// replay exercises the over-length name path in the body def reader.
|
||||
b3BodyDef bodyDef = b3DefaultBodyDef();
|
||||
bodyDef.type = b3_dynamicBody;
|
||||
|
|
|
|||
Loading…
Reference in a new issue