fix: Correct typo in QMatrix4x4 declaration in ViewportWidget.cpp

Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
2026-02-09 16:19:14 -07:00
parent fbfb496930
commit 74364f0152

View File

@@ -43,7 +43,7 @@ void ViewportWidget::paintGL()
glLoadMatrixf(model.constData()); glLoadMatrixf(model.constData());
// View cube rendering // View cube rendering
QMatrix4xá4 viewCubeModel; QMatrix4x4 viewCubeModel;
viewCubeModel.rotate(xRot / 16.0f, 1, 0, 0); viewCubeModel.rotate(xRot / 16.0f, 1, 0, 0);
viewCubeModel.rotate(yRot / 16.0f, 0, 1, 0); viewCubeModel.rotate(yRot / 16.0f, 0, 1, 0);
m_viewCube->paintGL(viewCubeModel, width(), height()); m_viewCube->paintGL(viewCubeModel, width(), height());