Make wireframe line more thick

master
Jeremy Hu 2018-03-19 22:03:22 +08:00
parent 2aed6b768a
commit a4cdb4e551
1 changed files with 1 additions and 0 deletions

View File

@ -204,6 +204,7 @@ void ModelingWidget::paintGL()
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glEnable(GL_DEPTH_TEST); glEnable(GL_DEPTH_TEST);
glEnable(GL_CULL_FACE); glEnable(GL_CULL_FACE);
glEnable(GL_LINE_SMOOTH);
m_world.setToIdentity(); m_world.setToIdentity();
m_world.rotate(180.0f - (m_xRot / 16.0f), 1, 0, 0); m_world.rotate(180.0f - (m_xRot / 16.0f), 1, 0, 0);