Sync body flags (#7)
- Fixed mesh point culling for vertically stacked points - Fixed two point capsule vs capsule normal - Fixed bug where body flags can go out of sync - Added tests - Updated benchmarks
This commit is contained in:
parent
758dc665dd
commit
79cc160275
39 changed files with 1686 additions and 931 deletions
|
|
@ -400,6 +400,10 @@ void Sample::Render()
|
|||
void Sample::ResetProfile()
|
||||
{
|
||||
m_stepCount = 0;
|
||||
memset( m_profiles, 0, sizeof( m_profiles ) );
|
||||
m_currentProfileIndex = 0;
|
||||
m_profileReadIndex = 0;
|
||||
m_profileWriteIndex = 0;
|
||||
}
|
||||
|
||||
void Sample::UpdateUI()
|
||||
|
|
@ -717,6 +721,7 @@ void Sample::UpdateUI()
|
|||
ImGui::Text( "islands/tasks = %d/%d", s.islandCount, s.taskCount );
|
||||
ImGui::Text( "tree height static/movable = %d/%d", s.staticTreeHeight, s.treeHeight );
|
||||
ImGui::Text( "sat call/hit = %d/%d", s.satCallCount, s.satCacheHitCount );
|
||||
ImGui::Text( "toi d/p/r = %d/%d/%d", s.distanceIterations, s.pushBackIterations, s.rootIterations );
|
||||
ImGui::Text( "stack allocator size = %d K", s.stackUsed / 1024 );
|
||||
ImGui::Text( "arena capacity = %d K", s.arenaCapacity / 1024 );
|
||||
ImGui::Text( "total allocation = %d K", s.byteCount / 1024 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue