Tech ENABLE_SINKING_CONTOURS -> Sinking contours rendered using triangles

This commit is contained in:
enricoturri1966 2021-07-28 11:21:59 +02:00
parent b24488ce51
commit d99ea7c20f
4 changed files with 42 additions and 16 deletions

View file

@ -142,6 +142,7 @@ void GLGizmoCut::on_render()
#if ENABLE_SINKING_CONTOURS
glsafe(::glPushMatrix());
glsafe(::glTranslated(m_cut_contours.shift.x(), m_cut_contours.shift.y(), m_cut_contours.shift.z()));
glsafe(::glLineWidth(2.0f));
m_cut_contours.contours.render();
glsafe(::glPopMatrix());
#endif // ENABLE_SINKING_CONTOURS