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