diff --git a/dgl/src/Geometry.cpp b/dgl/src/Geometry.cpp index 2c2e8947..c3954895 100644 --- a/dgl/src/Geometry.cpp +++ b/dgl/src/Geometry.cpp @@ -406,7 +406,14 @@ void Line::moveBy(const Point& pos) noexcept template void Line::draw() { - // TODO + glBegin(GL_LINES); + + { + glVertex2i(fPosStart.fX, fPosStart.fY); + glVertex2i(fPosEnd.fX, fPosEnd.fY); + } + + glEnd(); } template