GLGizmoBase::picking_color_component modified to return all the three components of the picking color

This commit is contained in:
Enrico Turri
2019-03-15 10:05:14 +01:00
parent 5b01eb3004
commit dd309c9dfc
2 changed files with 23 additions and 13 deletions

View File

@@ -175,7 +175,7 @@ protected:
virtual void on_render_input_window(float x, float y, float bottom_limit, const GLCanvas3D::Selection& selection) {}
#endif // ENABLE_IMGUI
float picking_color_component(unsigned int id) const;
std::array<float, 3> picking_color_component(unsigned int id) const;
void render_grabbers(const BoundingBoxf3& box) const;
void render_grabbers(float size) const;
void render_grabbers_for_picking(const BoundingBoxf3& box) const;