16 #ifndef _BT_POOL_ALLOCATOR_H 17 #define _BT_POOL_ALLOCATOR_H 130 #endif //_BT_POOL_ALLOCATOR_H
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
btSpinMutex – lightweight spin-mutex implemented with atomic ops, never puts a thread to sleep beca...
unsigned char * getPoolAddress()
#define btAlignedFree(ptr)
btPoolAllocator(int elemSize, int maxElements)
void btMutexUnlock(btSpinMutex *mutex)
int getElementSize() const
void * allocate(int size)
The btPoolAllocator class allows to efficiently allocate a large pool of objects, instead of dynamica...
void btMutexLock(btSpinMutex *mutex)
#define btAlignedAlloc(size, alignment)
const unsigned char * getPoolAddress() const
void freeMemory(void *ptr)