MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / init

Method init

Engine/source/gfx/sim/debugDraw.cpp:116–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116void DebugDrawer::init()
117{
118#ifdef ENABLE_DEBUGDRAW
119 sgDebugDrawer = new DebugDrawer();
120 sgDebugDrawer->registerObject("DebugDraw");
121 Sim::getRootGroup()->addObject( sgDebugDrawer );
122 Con::warnf( "DebugDrawer Enabled!" );
123#endif
124}
125
126void DebugDrawer::setupStateBlocks()
127{

Callers 1

setFileMethod · 0.45

Calls 4

getRootGroupFunction · 0.85
warnfFunction · 0.85
registerObjectMethod · 0.45
addObjectMethod · 0.45

Tested by

no test coverage detected