refactor: Use gp_Ax2 for camera plane orientation

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
2026-03-03 16:09:38 -07:00
parent 79c78f0601
commit 64ff7396c2
2 changed files with 26 additions and 20 deletions
+3 -1
View File
@@ -14,6 +14,8 @@
#include <QMouseEvent>
#include <QWheelEvent>
#include <gp_Ax2.hxx>
class Camera : public QObject
{
Q_OBJECT
@@ -46,7 +48,7 @@ public:
void saveState();
void restoreState();
void animateToPlaneView(int plane);
void animateToPlaneView(const gp_Ax2& plane);
void animateRestoreState();
void animateToHomeView();