Updated GLView to draw with white lighting after drawCoordSystem().

pull/1879/head
James Carthew 2018-04-05 06:37:18 +10:00
parent 6147a4f50d
commit 4254142575
1 changed files with 1 additions and 0 deletions

View File

@ -609,6 +609,7 @@ void CGLView::drawCoordSystem() {
// Z, -Z // Z, -Z
qglColor(QColor(Qt::blue)), glVertex3f(0.0, 0.0, 0.0), glVertex3f(0.0, 0.0, 100000.0); qglColor(QColor(Qt::blue)), glVertex3f(0.0, 0.0, 0.0), glVertex3f(0.0, 0.0, 100000.0);
qglColor(QColor(Qt::yellow)), glVertex3f(0.0, 0.0, 0.0), glVertex3f(0.0, 0.0, -100000.0); qglColor(QColor(Qt::yellow)), glVertex3f(0.0, 0.0, 0.0), glVertex3f(0.0, 0.0, -100000.0);
qglColor(QColor(Qt::white));
glEnd(); glEnd();
} }