mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-31 12:41:20 -06:00
Object updated by rotate gizmo
This commit is contained in:
parent
a3949b9f01
commit
b9ce19b07c
10 changed files with 180 additions and 36 deletions
|
|
@ -100,6 +100,9 @@ class GLGizmoRotate : public GLGizmoBase
|
|||
public:
|
||||
GLGizmoRotate();
|
||||
|
||||
float get_angle_z() const;
|
||||
void set_angle_z(float angle_z);
|
||||
|
||||
protected:
|
||||
virtual bool on_init();
|
||||
virtual void on_update(const Pointf& mouse_pos);
|
||||
|
|
@ -120,9 +123,9 @@ class GLGizmoScale : public GLGizmoBase
|
|||
static const float Offset;
|
||||
|
||||
float m_scale;
|
||||
float m_starting_scale;
|
||||
|
||||
Pointf m_starting_drag_position;
|
||||
float m_starting_scale;
|
||||
|
||||
public:
|
||||
GLGizmoScale();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue