diff options
author | ccolin | 2021-01-02 01:16:06 +0100 |
---|---|---|
committer | ccolin | 2021-01-02 01:16:06 +0100 |
commit | bb0da810d945d98b25390c65ab3f34e695914fd6 (patch) | |
tree | 7ecbfe570db170b72b7e3096f78c3d60d0bf0acd /src/waypoint.hh | |
parent | 861d505606d612bc328534dba3257e9ef9a1c269 (diff) |
move Drone and Waypoint declarations to their own files
Diffstat (limited to 'src/waypoint.hh')
-rw-r--r-- | src/waypoint.hh | 17 |
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 |