feat: Set initial camera to an isometric view

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
2026-02-15 10:27:10 -07:00
parent 4f08770fa2
commit 91d1a60343

View File

@@ -31,9 +31,9 @@ ViewportWidget::ViewportWidget(QWidget *parent)
setMouseTracking(true); setMouseTracking(true);
setFocusPolicy(Qt::StrongFocus); setFocusPolicy(Qt::StrongFocus);
// Set initial view to Top (XY plane) and show grid // Set initial view to an isometric angle on the XY plane and show grid
m_xRot = 90 * 16; m_xRot = 30 * 16;
m_yRot = 0; m_yRot = -45 * 16;
m_zoom = -20.0f; m_zoom = -20.0f;
m_panX = 0.0f; m_panX = 0.0f;
m_panY = 0.0f; m_panY = 0.0f;