Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'extern/bullet2/src/LinearMath/btPoolAllocator.h')
-rw-r--r--extern/bullet2/src/LinearMath/btPoolAllocator.h5
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