aboutsummaryrefslogtreecommitdiff
path: root/src/waypoint.hh
diff options
context:
space:
mode:
authorccolin2021-01-02 01:16:06 +0100
committerccolin2021-01-02 01:16:06 +0100
commitbb0da810d945d98b25390c65ab3f34e695914fd6 (patch)
tree7ecbfe570db170b72b7e3096f78c3d60d0bf0acd /src/waypoint.hh
parent861d505606d612bc328534dba3257e9ef9a1c269 (diff)
move Drone and Waypoint declarations to their own files
Diffstat (limited to 'src/waypoint.hh')
-rw-r--r--src/waypoint.hh17
1 files changed, 17 insertions, 0 deletions
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 <QVector3D>
+#include <QJsonObject>
+
+
+struct Waypoint {
+ int frame;
+ QVector3D pos;
+
+ Waypoint(unsigned frame, QVector3D pos);
+ Waypoint(const QJsonObject &json);
+};
+
+
+#endif