mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 14:13:57 -06:00
Tech ENABLE_SINKING_CONTOURS -> Sinking contours rendered using triangles
This commit is contained in:
parent
b24488ce51
commit
d99ea7c20f
4 changed files with 42 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue