feat: Implement mouse wheel zoom to cursor position

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
2026-02-17 11:36:44 -07:00
parent a66dc50daf
commit 38e931bc79
3 changed files with 26 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ public:
void mousePressEvent(QMouseEvent* event);
void mouseMoveEvent(QMouseEvent* event);
void wheelEvent(QWheelEvent* event);
void wheelEvent(QWheelEvent* event, const QVector3D& worldPos);
QMatrix4x4 modelViewMatrix() const;