m2-ar-projet/src/waypoint.hh

19 lines
252 B
C++

#ifndef WAYPOINT_HH
#define WAYPOINT_HH
#include <QVector3D>
#include <QJsonObject>
struct Waypoint {
int frame;
QVector3D pos;
double computed_speed = 0;
Waypoint(unsigned frame, QVector3D pos);
Waypoint(const QJsonObject &json);
};
#endif