Pull model task API (#228)

Port the pull model task API from Box2D.

https://github.com/erincatto/box2d/pull/1133

Addresses discussion #150
This commit is contained in:
Erin Catto 2026-11-17 16:42:52 -08:00 • committed by GitHub
commit 1767150df4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 2048 additions and 406 deletions

View file

@ -1071,7 +1071,7 @@ void Sample::DrawMetrics()
ImGui::SetItemTooltip( "current / max" );
ImGui::Text( "joints %d", s.jointCount );
ImGui::Text( "islands %d", s.islandCount );
ImGui::Text( "tasks %d", s.taskCount );
ImGui::Text( "tasks %d / %d", s.enqueueCount, s.taskCount );
ImGui::TableNextColumn();
ImGui::Text( "static tree %d", s.staticTreeHeight );