Tech ENABLE_GCODE_VIEWER -> Selection curved arrows rendered using the new OpenGL model class

This commit is contained in:
enricoturri1966 2020-05-12 16:15:43 +02:00
parent 8d5cea82f4
commit 58258df113
6 changed files with 236 additions and 20 deletions

View file

@ -2002,6 +2002,7 @@ bool GLArrow::on_init()
return true;
}
#if !ENABLE_GCODE_VIEWER
GLCurvedArrow::GLCurvedArrow(unsigned int resolution)
: GLModel()
, m_resolution(resolution)
@ -2115,6 +2116,7 @@ bool GLCurvedArrow::on_init()
m_volume.indexed_vertex_array.finalize_geometry(true);
return true;
}
#endif // !ENABLE_GCODE_VIEWER
bool GLBed::on_init_from_file(const std::string& filename)
{