From 7fe6bf15180110ba0df803472444cd7fd6a4e414 Mon Sep 17 00:00:00 2001 From: ccolin Date: Mon, 4 Jan 2021 01:51:00 +0100 Subject: [PATCH] make the grid smaller --- src/drone_controller.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 grid; - const int size = 1000; + const int size = 100; const float offset = 0; for (int i = -size; i < size; i += 10) { grid.append(i);