MCPcopy Create free account
hub / github.com/JACoders/OpenJK / AAS_DebugLine

Function AAS_DebugLine

codemp/botlib/be_aas_debug.cpp:130–149  ·  view source on GitHub ↗

end of the function AAS_ClearShownDebugLines =========================================================================== Parameter: - Returns: - Changes Globals: - ===========================================================================

Source from the content-addressed store, hash-verified

128// Changes Globals: -
129//===========================================================================
130void AAS_DebugLine(vec3_t start, vec3_t end, int color)
131{
132 int line;
133
134 for (line = 0; line < MAX_DEBUGLINES; line++)
135 {
136 if (!debuglines[line])
137 {
138 debuglines[line] = botimport.DebugLineCreate();
139 debuglinevisible[line] = qfalse;
140 numdebuglines++;
141 } //end if
142 if (!debuglinevisible[line])
143 {
144 botimport.DebugLineShow(debuglines[line], start, end, color);
145 debuglinevisible[line] = qtrue;
146 return;
147 } //end else
148 } //end for
149} //end of the function AAS_DebugLine
150//===========================================================================
151//
152// Parameter: -

Callers 5

AAS_DrawPermanentCrossFunction · 0.85
AAS_ShowFaceFunction · 0.85
AAS_DrawCrossFunction · 0.85
AAS_DrawArrowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected