Fixed length of grabbers for rotate 3D gizmo

This commit is contained in:
Enrico Turri 2018-11-15 10:16:51 +01:00
parent 95abba5b96
commit a468078df3
2 changed files with 15 additions and 4 deletions

View file

@ -38,6 +38,9 @@ protected:
void render(bool hover, float size) const;
void render_for_picking(float size) const { render(size, color, false); }
float get_half_size(float size) const;
float get_dragging_half_size(float size) const;
private:
void render(float size, const float* render_color, bool use_lighting) const;
void render_face(float half_size) const;