49 Matrix operator*(const Matrix& other) const; |
49 Matrix operator*(const Matrix& other) const; |
50 RowView operator[](int row); |
50 RowView operator[](int row); |
51 ConstRowView operator[](int row) const; |
51 ConstRowView operator[](int row) const; |
52 double& operator()(int row, int column); |
52 double& operator()(int row, int column); |
53 const double& operator()(int row, int column) const; |
53 const double& operator()(int row, int column) const; |
|
54 Matrix& operator*=(const Matrix& other); |
54 |
55 |
55 static const Matrix identity; |
56 static const Matrix identity; |
56 static Matrix fromRotationMatrix(const GLRotationMatrix& rotationMatrix); |
57 static Matrix fromQMatrix(const QMatrix4x4& matrix); |
|
58 static Matrix scaleMatrix(qreal scalar); |
57 |
59 |
58 private: |
60 private: |
59 double m_values[9]; |
61 double m_values[9]; |
60 }; |
62 }; |
61 |
63 |