mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
3Dconnexion devices translation linearly dependent on zoom
This commit is contained in:
parent
9f7feedc8b
commit
3f2ccf08d2
6 changed files with 18 additions and 32 deletions
|
@ -80,6 +80,7 @@ public:
|
|||
#endif // !ENABLE_6DOF_CAMERA
|
||||
|
||||
double get_zoom() const { return m_zoom; }
|
||||
double get_inv_zoom() const { assert(m_zoom != 0.0); return 1.0 / m_zoom; }
|
||||
void update_zoom(double delta_zoom);
|
||||
void set_zoom(double zoom);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue