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:
@@ -105,6 +105,10 @@ public:
|
||||
{
|
||||
return m_maxShapeCapacityInBytes;
|
||||
}
|
||||
int getInstanceCapacity() const
|
||||
{
|
||||
return m_maxNumObjectCapacity;
|
||||
}
|
||||
};
|
||||
|
||||
#endif //GL_INSTANCING_RENDERER_H
|
||||
|
||||
Reference in New Issue
Block a user