aboutsummaryrefslogtreecommitdiff
path: root/src/drone_controller.cc
diff options
context:
space:
mode:
authorccolin2021-01-04 01:51:00 +0100
committerccolin2021-01-04 01:51:00 +0100
commit7fe6bf15180110ba0df803472444cd7fd6a4e414 (patch)
tree51f76005f73c68760db07b493f352da879aa3e8f /src/drone_controller.cc
parentda37a84d5f8b2eeb1c41cba033abebdce12f148a (diff)
make the grid smaller
Diffstat (limited to 'src/drone_controller.cc')
-rw-r--r--src/drone_controller.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drone_controller.cc b/src/drone_controller.cc
index 99df662..f1b4a48 100644
--- a/src/drone_controller.cc
+++ b/src/drone_controller.cc
@@ -95,7 +95,7 @@ void DroneController::drawGuide(QOpenGLExtraFunctions *f, const Drone &d) const
f->glDrawArrays(GL_LINES, 0, 2);
QVector<GLfloat> grid;
- const int size = 1000;
+ const int size = 100;
const float offset = 0;
for (int i = -size; i < size; i += 10) {
grid.append(i);