diff options
author | ccolin | 2021-01-03 12:30:16 +0100 |
---|---|---|
committer | ccolin | 2021-01-03 12:30:16 +0100 |
commit | 928d45c3fbfb6b00d8e0b79b63934ebd080b9456 (patch) | |
tree | 9e6b4f457d3c3130aa57b183f868e378e9810f5a /src/drone.hh | |
parent | 8ad1cf1b89b8acae55e36d6bd4562dffd1bcc714 (diff) |
refactor drawing code
Diffstat (limited to 'src/drone.hh')
-rw-r--r-- | src/drone.hh | 4 |
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; }; |