make the grid smaller
This commit is contained in:
parent
da37a84d5f
commit
7fe6bf1518
@ -95,7 +95,7 @@ void DroneController::drawGuide(QOpenGLExtraFunctions *f, const Drone &d) const
|
|||||||
f->glDrawArrays(GL_LINES, 0, 2);
|
f->glDrawArrays(GL_LINES, 0, 2);
|
||||||
|
|
||||||
QVector<GLfloat> grid;
|
QVector<GLfloat> grid;
|
||||||
const int size = 1000;
|
const int size = 100;
|
||||||
const float offset = 0;
|
const float offset = 0;
|
||||||
for (int i = -size; i < size; i += 10) {
|
for (int i = -size; i < size; i += 10) {
|
||||||
grid.append(i);
|
grid.append(i);
|
||||||
|
Loading…
Reference in New Issue
Block a user