aboutsummaryrefslogtreecommitdiff
path: root/src/drone_controller.hh
diff options
context:
space:
mode:
authorccolin2021-01-03 22:39:23 +0100
committerccolin2021-01-03 22:39:23 +0100
commite3cb8532fcc863897b6aa9430b0ab786f421cb95 (patch)
treef3ff3d2408021b124f7bb2a0995f626d0db3f2ac /src/drone_controller.hh
parentcbf29fc087179fbda1527d3c4cea82c2b8e9f695 (diff)
rename "draw support lines" to "draw guides"
Diffstat (limited to 'src/drone_controller.hh')
-rw-r--r--src/drone_controller.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drone_controller.hh b/src/drone_controller.hh
index fb6dd4e..742677b 100644
--- a/src/drone_controller.hh
+++ b/src/drone_controller.hh
@@ -24,7 +24,7 @@ class DroneController : public QObject, public Painter {
QTimer sphere_timer;
QMap<int, QVector<QPair<int, int>>> collisions;
bool draw_trajectories = false;
- bool draw_support_lines = false;
+ bool draw_guides = false;
static OpenGLMesh *sphere;
static const unsigned char sphere_neutral[];
@@ -32,7 +32,7 @@ class DroneController : public QObject, public Painter {
static bool collides(const Drone &a, const Drone &b, double radius);
void drawTrajectory(QOpenGLExtraFunctions *f, const Drone &d) const;
- void drawSupportLine(QOpenGLExtraFunctions *f, const Drone &d) const;
+ void drawGuide(QOpenGLExtraFunctions *f, const Drone &d) const;
public:
DroneController(const QJsonObject &json);
@@ -57,7 +57,7 @@ public slots:
void computeCollisions(double sphere_radius);
void displaySpheres(double sphere_radius);
void setDrawTrajectories(bool enable);
- void setDrawSupportLines(bool enable);
+ void setDrawGuides(bool enable);
};