Move almost identical code into QMeshShape
QTriangleMeshShape and QConvexMeshShape are basically identical so move
the common code into a new class QMeshShape. Using an enum
ShapeType to differentiate the mesh types.
Pick-to: 6.6 6.5
Task-number: QTBUG-109818
Change-Id: Ia2e72eb84d14bcf1a38fa0d2df046805d175a5ad
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
| commit | f43d8bf1aed47da1ae13d73d59e439ce6ef53348 |
| parent | 3012a8a2b9c6bc5315f3a597300b5d447840c6a5 |
| author | Jonas Karlsson <jonas.karlsson@qt.io> |
| committer | Jonas Karlsson <jonas.karlsson@qt.io> |
| commit time | Wed, 6 Dec 2023 16:18:03 +0100 |