mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Fixed length of grabbers for rotate 3D gizmo
This commit is contained in:
parent
95abba5b96
commit
a468078df3
2 changed files with 15 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue