Manifold allocation cap (#227)
Degenerate scenarios can lead to a huge number of manifolds per contact. This creates memory and performance problems. So I'm capping them to 8 using cheap heuristics for culling.
This commit is contained in:
parent
be8c731890
commit
8f3b2e12eb
18 changed files with 1161 additions and 138 deletions
|
|
@ -206,6 +206,11 @@ public:
|
|||
// Bottom metrics drawer (Frame Time / Counters / Renderer).
|
||||
void DrawMetrics();
|
||||
|
||||
virtual b3WorldId GetMetricsWorldId() const
|
||||
{
|
||||
return m_worldId;
|
||||
}
|
||||
|
||||
// Append extra tabs to the metrics drawer's tab bar (the Replay viewer adds Timeline).
|
||||
virtual void DrawMetricsTab()
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue