aboutsummaryrefslogtreecommitdiff
path: root/src/drone.hh
diff options
context:
space:
mode:
authorccolin2021-01-03 12:30:16 +0100
committerccolin2021-01-03 12:30:16 +0100
commit928d45c3fbfb6b00d8e0b79b63934ebd080b9456 (patch)
tree9e6b4f457d3c3130aa57b183f868e378e9810f5a /src/drone.hh
parent8ad1cf1b89b8acae55e36d6bd4562dffd1bcc714 (diff)
refactor drawing code
Diffstat (limited to 'src/drone.hh')
-rw-r--r--src/drone.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drone.hh b/src/drone.hh
index 6c43cc1..873bb27 100644
--- a/src/drone.hh
+++ b/src/drone.hh
@@ -20,7 +20,6 @@ class Drone {
static bool mesh_initialized;
QVector<Waypoint> waypoints;
- int mesh_id;
QVector3D pos;
int id;
@@ -29,8 +28,9 @@ public:
Drone(const QJsonObject &json);
const QVector<Waypoint> getWaypoints() const;
void setTo(int frame);
- QVector3D getPos() const;
+ const QVector3D getPos() const;
int getId() const;
+ const OpenGLMesh *getMesh() const;
};