Keep track of raw pointer returned from btAlignedAlloc when using placement new on an array.

This commit is contained in:
john.mccutchan
2008-08-07 16:02:59 +00:00
parent 7838a5c980
commit 551f0fa1ec
3 changed files with 13 additions and 9 deletions

View File

@@ -59,6 +59,7 @@ protected:
int m_numHandles; // number of active handles
int m_maxHandles; // max number of handles
btSimpleBroadphaseProxy* m_pHandles; // handles pool
void* m_pHandlesRawPtr;
int m_firstFreeHandle; // free handles list
int m_firstAllocatedHandle;