Make wireframe line more thick
parent
2aed6b768a
commit
a4cdb4e551
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue