From a4cdb4e5517a0eff42ac4071374e74093d7d9421 Mon Sep 17 00:00:00 2001 From: Jeremy Hu Date: Mon, 19 Mar 2018 22:03:22 +0800 Subject: [PATCH] Make wireframe line more thick --- src/modelingwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modelingwidget.cpp b/src/modelingwidget.cpp index ae351131..a426ef2c 100644 --- a/src/modelingwidget.cpp +++ b/src/modelingwidget.cpp @@ -204,6 +204,7 @@ void ModelingWidget::paintGL() glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glEnable(GL_DEPTH_TEST); glEnable(GL_CULL_FACE); + glEnable(GL_LINE_SMOOTH); m_world.setToIdentity(); m_world.rotate(180.0f - (m_xRot / 16.0f), 1, 0, 0);