aboutsummaryrefslogtreecommitdiff
path: root/src/drone_controller.hh
diff options
context:
space:
mode:
authorccolin2021-01-04 13:34:34 +0100
committerccolin2021-01-04 13:34:34 +0100
commit0f06601bc69d08baaa6c5b11c03e59ac818c426e (patch)
treeb9225f8b6529b74f289591bdea63992393315f9c /src/drone_controller.hh
parent7fe6bf15180110ba0df803472444cd7fd6a4e414 (diff)
fix misc rendering issue
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 742677b..6099e08 100644
--- a/src/drone_controller.hh
+++ b/src/drone_controller.hh
@@ -31,13 +31,13 @@ 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 drawGuide(QOpenGLExtraFunctions *f, const Drone &d) const;
+ void drawTrajectory(OpenGLWidget *glw, const Drone &d) const;
+ void drawGuide(OpenGLWidget *glw, const Drone &d) const;
public:
DroneController(const QJsonObject &json);
int getDuration() const;
- void draw(QOpenGLExtraFunctions *f) const;
+ void draw(OpenGLWidget *glw) const;
signals:
void frameChanged(int frame);