diff options
Diffstat (limited to 'extern/bullet2/src/LinearMath/btPoolAllocator.h')
-rw-r--r-- | extern/bullet2/src/LinearMath/btPoolAllocator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extern/bullet2/src/LinearMath/btPoolAllocator.h b/extern/bullet2/src/LinearMath/btPoolAllocator.h index e3b4be9b155..ef2084537a2 100644 --- a/extern/bullet2/src/LinearMath/btPoolAllocator.h +++ b/extern/bullet2/src/LinearMath/btPoolAllocator.h @@ -62,6 +62,11 @@ public: return m_maxElements - m_freeCount; } + int getMaxCount() const + { + return m_maxElements; + } + void* allocate(int size) { // release mode fix |