Removed initializer which isn't supported in VS 2012.
This commit is contained in:
parent
ba58cff815
commit
321d3eb7d4
@ -193,7 +193,7 @@ void OpenGLWidget::paintGL()
|
||||
for (OpenGLMeshData meshData : mMeshData)
|
||||
{
|
||||
//Set up the model matrrix based on provided translation and scale.
|
||||
QMatrix4x4 modelToWorldMatrix{};
|
||||
QMatrix4x4 modelToWorldMatrix;
|
||||
modelToWorldMatrix.translate(meshData.translation);
|
||||
modelToWorldMatrix.scale(meshData.scale);
|
||||
mShader->setUniformValue("modelToWorldMatrix", modelToWorldMatrix);
|
||||
|
Loading…
x
Reference in New Issue
Block a user