make the grid smaller

This commit is contained in:
ccolin 2021-01-04 01:51:00 +01:00
parent da37a84d5f
commit 7fe6bf1518

View File

@ -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);