mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - 1st installment - Selection bounding box
(cherry picked from commit prusa3d/PrusaSlicer@22f38235ea)
This commit is contained in:
parent
28d0147d09
commit
7f0c095446
8 changed files with 148 additions and 79 deletions
|
@ -131,8 +131,8 @@ void GLGizmoMeshBoolean::on_render()
|
|||
}
|
||||
}
|
||||
|
||||
float src_color[3] = { 1.0f, 1.0f, 1.0f };
|
||||
float tool_color[3] = { 0.0f, 150.0f / 255.0f, 136.0f / 255.0f };
|
||||
ColorRGB src_color = { 1.0f, 1.0f, 1.0f };
|
||||
ColorRGB tool_color = {0.0f, 150.0f / 255.0f, 136.0f / 255.0f};
|
||||
m_parent.get_selection().render_bounding_box(src_bb, src_color, m_parent.get_scale());
|
||||
m_parent.get_selection().render_bounding_box(tool_bb, tool_color, m_parent.get_scale());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue