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