--- a/src/widgets/matrixeditor.h Sun Jun 10 23:25:08 2018 +0300 +++ b/src/widgets/matrixeditor.h Sun Jun 17 13:53:33 2018 +0300 @@ -10,18 +10,12 @@ Q_OBJECT public: - MatrixEditor( - const Matrix& matrix = Matrix::identity, - const Vertex& position = {0, 0, 0}, - QWidget* parent = nullptr - ); + MatrixEditor(const QMatrix4x4& matrix = {}, QWidget* parent = nullptr); MatrixEditor(QWidget* parent); ~MatrixEditor(); - Vertex position() const; - Matrix matrix() const; - void setPosition(const Vertex& position); - void setMatrix(const Matrix& matrix); + QMatrix4x4 matrix() const; + void setMatrix(const QMatrix4x4& matrix); private slots: void scalingChanged();