MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / DrawLine

Function DrawLine

editor/drawworld.cpp:475–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473}
474
475void DrawLine(ddgr_color color, int pnum0, int pnum1) {
476 g3Point pnt1, pnt2;
477
478 pnt1 = *((g3Point *)&World_point_buffer[pnum0]);
479 pnt2 = *((g3Point *)&World_point_buffer[pnum1]);
480
481 g3_DrawLine(color, &pnt1, &pnt2);
482}
483
484void DrawEdges(int room_color = -1);
485

Callers 4

DrawEdgesFunction · 0.85
DrawRoomFunction · 0.85
DrawRoomFaceFunction · 0.85
DrawFaceEdgeFunction · 0.85

Calls 1

g3_DrawLineFunction · 0.85

Tested by

no test coverage detected