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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user