MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / DBG_DrawFrameStart

Function DBG_DrawFrameStart

ogsr_engine/xrGame/PHDebug.cpp:438–460  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436#endif
437}
438void DBG_DrawFrameStart()
439{
440 if (draw_frame)
441 {
442#ifdef DRAW_CONTACTS
443 Contacts0.clear();
444#endif
445 dbg_draw_objects0.clear();
446 dbg_draw_abstruct0.clear();
447 }
448 else
449 {
450#ifdef DRAW_CONTACTS
451 Contacts1.clear();
452#endif
453 dbg_draw_objects1.clear();
454 dbg_draw_abstruct1.clear();
455 }
456 DBG_PHAbstruactStartFrame(draw_frame);
457
458 dbg_tries_num = 0;
459 dbg_saved_tries_for_active_objects = 0;
460}
461
462void PH_DBG_Clear()
463{

Callers 1

OnFrameMethod · 0.85

Calls 2

clearMethod · 0.45

Tested by

no test coverage detected