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

Function DBG_DrawPHAbstruct

ogsr_engine/xrGame/PHDebug.cpp:290–314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288 v.push_back(a);
289}
290void DBG_DrawPHAbstruct(SPHDBGDrawAbsract* a)
291{
292 if (dbg_ph_draw_mode != dmCashed)
293 {
294 if (ph_world->Processing())
295 dbg_ph_draw_mode = dmSecondaryThread;
296 else
297 dbg_ph_draw_mode = dmSimple;
298 }
299 switch (dbg_ph_draw_mode)
300 {
301 case dmSecondaryThread:
302 if (draw_frame)
303 {
304 push(dbg_draw_abstruct0, a);
305 }
306 else
307 {
308 push(dbg_draw_abstruct1, a);
309 };
310 break;
311 case dmCashed: push(dbg_draw_cashed, a); break;
312 case dmSimple: push(dbg_draw_simple, a); break;
313 }
314}
315
316void DBG_PHAbstruactStartFrame(bool dr_frame)
317{

Callers 8

DBG_DrawTriFunction · 0.85
DBG_DrawLineFunction · 0.85
DBG_DrawMatrixFunction · 0.85
DBG_DrawRotationFunction · 0.85
DBG_DrawAABBFunction · 0.85
DBG_DrawOBBFunction · 0.85
DBG_DrawPointFunction · 0.85
DBG_OutTextFunction · 0.85

Calls 1

pushFunction · 0.85

Tested by

no test coverage detected