|
32 | 32 |
|
33 | 33 | _Static_assert( B2_MAX_WORLDS > 0, "must be 1 or more" ); |
34 | 34 | _Static_assert( B2_MAX_WORLDS < UINT16_MAX, "B2_MAX_WORLDS limit exceeded" ); |
35 | | -b2World b2_worlds[B2_MAX_WORLDS]; |
| 35 | +static b2World b2_worlds[B2_MAX_WORLDS]; |
36 | 36 |
|
37 | 37 | B2_ARRAY_SOURCE( b2BodyMoveEvent, b2BodyMoveEvent ) |
38 | 38 | B2_ARRAY_SOURCE( b2ContactBeginTouchEvent, b2ContactBeginTouchEvent ) |
@@ -1747,10 +1747,10 @@ void b2World_DumpMemoryStats( b2WorldId worldId ) |
1747 | 1747 | fprintf( file, "kinematic tree: %d\n", b2DynamicTree_GetByteCount( world->broadPhase.trees + b2_kinematicBody ) ); |
1748 | 1748 | fprintf( file, "dynamic tree: %d\n", b2DynamicTree_GetByteCount( world->broadPhase.trees + b2_dynamicBody ) ); |
1749 | 1749 | b2HashSet* moveSet = &world->broadPhase.moveSet; |
1750 | | - fprintf( file, "moveSet: %d (%d, %d)\n", b2GetHashSetBytes( moveSet ), moveSet->count, moveSet->capacity ); |
| 1750 | + fprintf( file, "moveSet: %d (%u, %u)\n", b2GetHashSetBytes( moveSet ), moveSet->count, moveSet->capacity ); |
1751 | 1751 | fprintf( file, "moveArray: %d\n", b2IntArray_ByteCount( &world->broadPhase.moveArray ) ); |
1752 | 1752 | b2HashSet* pairSet = &world->broadPhase.pairSet; |
1753 | | - fprintf( file, "pairSet: %d (%d, %d)\n", b2GetHashSetBytes( pairSet ), pairSet->count, pairSet->capacity ); |
| 1753 | + fprintf( file, "pairSet: %d (%u, %u)\n", b2GetHashSetBytes( pairSet ), pairSet->count, pairSet->capacity ); |
1754 | 1754 | fprintf( file, "\n" ); |
1755 | 1755 |
|
1756 | 1756 | // solver sets |
|
0 commit comments