allow larger amount of rigid bodies, dynamically increase b3Config limits

avoid crashes in instancing renderer if instance maximum is exceeded.
This commit is contained in:
erwincoumans
2013-06-17 17:05:01 -07:00
parent 561a44e5d8
commit 9a92eecf10
6 changed files with 57 additions and 25 deletions

View File

@@ -105,6 +105,10 @@ public:
{
return m_maxShapeCapacityInBytes;
}
int getInstanceCapacity() const
{
return m_maxNumObjectCapacity;
}
};
#endif //GL_INSTANCING_RENDERER_H