]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/HUD/HUD.hxx
Re-Name FGViewer to flightgear::View
[flightgear.git] / src / Instrumentation / HUD / HUD.hxx
index 22d27d847f0c5fbbffaa679618f8a2b977c05c4a..95066d2ed18caaa3dad615955c238ffa4d014087 100644 (file)
@@ -61,6 +61,7 @@ public:
     void add(const LineSegment& seg) { _list.push_back(seg); }
     void erase() { _list.erase(_list.begin(), _list.end()); }
     inline unsigned int size() const { return _list.size(); }
+    inline bool empty() const { return _list.empty(); }
     void draw() {
         glBegin(GL_LINES);
         std::vector<LineSegment>::const_iterator it, end = _list.end();