mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-31 20:51:12 -06:00
Dimensions of scale on rotate gizmo as function of object size
This commit is contained in:
parent
99e90f2bfb
commit
8cea821c6a
2 changed files with 28 additions and 17 deletions
|
|
@ -133,7 +133,6 @@ class GLGizmoRotate : public GLGizmoBase
|
|||
static const float ScaleStepRad;
|
||||
static const unsigned int ScaleLongEvery;
|
||||
static const float ScaleLongTooth;
|
||||
static const float ScaleShortTooth;
|
||||
static const unsigned int SnapRegionsCount;
|
||||
static const float GrabberOffset;
|
||||
|
||||
|
|
@ -152,6 +151,11 @@ private:
|
|||
mutable Vec3d m_center;
|
||||
mutable float m_radius;
|
||||
|
||||
mutable float m_snap_coarse_in_radius;
|
||||
mutable float m_snap_coarse_out_radius;
|
||||
mutable float m_snap_fine_in_radius;
|
||||
mutable float m_snap_fine_out_radius;
|
||||
|
||||
public:
|
||||
GLGizmoRotate(GLCanvas3D& parent, Axis axis);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue