mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 19:28:14 -06:00
remove GLModel from base class
- only 2 gizmo use cone (cherry picked from commit prusa3d/PrusaSlicer@3c7390e34e) (cherry picked from commit 4647fc49ef5b925432e087252f32a6601d0410da)
This commit is contained in:
parent
356405adf6
commit
f6a3421e2a
6 changed files with 12 additions and 9 deletions
|
@ -161,9 +161,6 @@ GLGizmoBase::GLGizmoBase(GLCanvas3D& parent, const std::string& icon_filename, u
|
|||
m_base_color = DEFAULT_BASE_COLOR;
|
||||
m_drag_color = DEFAULT_DRAG_COLOR;
|
||||
m_highlight_color = DEFAULT_HIGHLIGHT_COLOR;
|
||||
m_cone.init_from(its_make_cone(1., 1., 2 * PI / 24));
|
||||
m_sphere.init_from(its_make_sphere(1., (2 * M_PI) / 24.));
|
||||
m_cylinder.init_from(its_make_cylinder(1., 1., 2 * PI / 24.));
|
||||
}
|
||||
|
||||
void GLGizmoBase::set_icon_filename(const std::string &filename) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue