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