| 534 | } |
| 535 | |
| 536 | void DBG_DrawStatBeforeFrameStep() |
| 537 | { |
| 538 | if (ph_dbg_draw_mask.test(phDbgDrawObjectStatistics)) |
| 539 | { |
| 540 | static float obj_count = 0.f; |
| 541 | static float update_obj_count = 0.f; |
| 542 | obj_count = obj_count * 0.9f + float(ph_world->ObjectsNumber()) * 0.1f; |
| 543 | update_obj_count = update_obj_count * 0.9f + float(ph_world->UpdateObjectsNumber()) * 0.1f; |
| 544 | DBG_OutText("Active Phys Objects %3.0f", obj_count); |
| 545 | DBG_OutText("Active Phys Update Objects %3.0f", update_obj_count); |
| 546 | } |
| 547 | } |
| 548 | |
| 549 | void DBG_DrawStatAfterFrameStep() |
| 550 | { |
no test coverage detected