Bug fixes and minor features (#2)
- API to query compounds directly. - Fix some uninitialized stuff (thanks MSAN). - Fix for store impulses on overflow. - AABB margin reduced for small shapes - body contact recycling option - angular threshold for contact recycling - reduce AABB margin on smaller shapes - fix for hull vs tri when axis aligned - fully locked rotation uses zero inverse inertia
This commit is contained in:
parent
d7816a0a58
commit
7216822064
50 changed files with 759 additions and 360 deletions
|
|
@ -26,11 +26,6 @@ typedef struct b3BlockAllocator
|
|||
int allocationCount;
|
||||
} b3BlockAllocator;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
// Element must be large enough to hold a pointer
|
||||
b3BlockAllocator b3CreateBlockAllocator( int elementSize, int initialCount );
|
||||
void b3DestroyBlockAllocator( b3BlockAllocator* allocator );
|
||||
|
|
@ -38,7 +33,3 @@ void b3DestroyBlockAllocator( b3BlockAllocator* allocator );
|
|||
// Elements are guaranteed contiguous.
|
||||
void* b3AllocateElement( b3BlockAllocator* allocator );
|
||||
void b3FreeElement( b3BlockAllocator* allocator, void* element );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue