GridGeometry: Remove unused variable

Amends 1c76217a70

Change-Id: I625df52dc6c18304598f95e921c3d3dea7bf74c6
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
This commit is contained in:
Jarek Kobus
2023-10-05 16:18:34 +02:00
parent cdb08f3451
commit 42bda582d5

View File

@@ -80,8 +80,6 @@ void GridGeometry::doUpdateGeometry()
setVertexData(vertexData);
int lastIndex = (vertexData.size() - 1) / int(sizeof(QVector3D));
// Set bounds based on main grid size instead of actual mesh size to make all parts of the
// grid have consistent bounds.
const float extent = float(m_lines) * m_step;