From 811be6f81b2e8c4d9d23cff5b4287c8a5dc86fc3 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Thu, 6 Feb 2014 14:00:25 +0200 Subject: Change rotations to use angle and vector in APIs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Quaternions are pain in the behind to use, especially in QML, so change them to angle + vector combinations. Change-Id: I25eb5ea92deaf3a079e2e193cce2e8de89f3c3c4 Reviewed-by: Tomi Korpipää --- examples/qmloscilloscope/datasource.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples/qmloscilloscope/datasource.h') diff --git a/examples/qmloscilloscope/datasource.h b/examples/qmloscilloscope/datasource.h index 6ef0cacb..51d3e8e0 100644 --- a/examples/qmloscilloscope/datasource.h +++ b/examples/qmloscilloscope/datasource.h @@ -30,7 +30,7 @@ class DataSource : public QObject { Q_OBJECT public: - explicit DataSource(QQuickView *appViewer, QObject *parent = 0); + explicit DataSource(QObject *parent = 0); virtual ~DataSource(); //! [0] @@ -46,7 +46,6 @@ public slots: private: void clearData(); - QQuickView *m_appViewer; QVector m_data; int m_index; QSurfaceDataArray *m_resetArray; -- cgit v1.2.3