src/glrenderer.h

changeset 1393
f0fe7ea82b81
parent 1369
1e2391b78d17
child 1404
16eb4257e662
--- a/src/glrenderer.h	Mon Jun 04 23:22:52 2018 +0300
+++ b/src/glrenderer.h	Thu Jun 07 23:24:02 2018 +0300
@@ -112,7 +112,6 @@
 	bool mouseHasMoved() const;
 	virtual void overpaint(QPainter& painter);
 	double panning (Axis ax) const;
-	const QGenericMatrix<4, 4, GLfloat>& rotationMatrix() const;
 	double zoom();
 
 	template<typename... Args>
@@ -129,7 +128,7 @@
 	QTimer* m_toolTipTimer;
 	Qt::MouseButtons m_lastButtons;
 	Qt::KeyboardModifiers m_currentKeyboardModifiers;
-	QGenericMatrix<4, 4, GLfloat> m_rotationMatrix;
+	QQuaternion m_rotation;
 	GLCamera m_cameras[7];
 	bool m_useDarkBackground = false;
 	bool m_panning = false;

mercurial