remove deprecated toAffine
This commit is contained in:
parent
b618599e62
commit
667c1d8b0d
|
@ -23,7 +23,6 @@
|
|||
#include <QSGFlatColorMaterial>
|
||||
#include <QSGGeometryNode>
|
||||
#include <qmath.h>
|
||||
#include <QTransform>
|
||||
|
||||
#include <array>
|
||||
#include <optional>
|
||||
|
|
|
@ -14,7 +14,7 @@ inline Q_REQUIRED_RESULT QMatrix4x4 matrix_deg( float rZ = 0.0f,
|
|||
QTransform transform;
|
||||
transform.translate( tX, tY );
|
||||
transform.rotate(rZ, Qt::ZAxis);
|
||||
return transform.toAffine();
|
||||
return transform;
|
||||
}
|
||||
|
||||
template< typename T >
|
||||
|
|
Loading…
Reference in New Issue