From bb0da810d945d98b25390c65ab3f34e695914fd6 Mon Sep 17 00:00:00 2001 From: ccolin Date: Sat, 2 Jan 2021 01:16:06 +0100 Subject: move Drone and Waypoint declarations to their own files --- src/waypoint.hh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/waypoint.hh (limited to 'src/waypoint.hh') diff --git a/src/waypoint.hh b/src/waypoint.hh new file mode 100644 index 0000000..4b455fd --- /dev/null +++ b/src/waypoint.hh @@ -0,0 +1,17 @@ +#ifndef WAYPOINT_HH +#define WAYPOINT_HH + +#include +#include + + +struct Waypoint { + int frame; + QVector3D pos; + + Waypoint(unsigned frame, QVector3D pos); + Waypoint(const QJsonObject &json); +}; + + +#endif -- cgit v1.2.3-70-g09d2