Tech ENABLE_GLBEGIN_GLEND_REMOVAL - 1st installment - Selection bounding box

(cherry picked from commit prusa3d/PrusaSlicer@22f38235ea)
This commit is contained in:
enricoturri1966 2023-10-20 20:28:27 +08:00 committed by Noisyfox
parent 28d0147d09
commit 7f0c095446
8 changed files with 148 additions and 79 deletions

View file

@ -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());
}