From 61c84e2d9c46de40d22f6fafbdd23d4015025516 Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Fri, 7 Feb 2014 15:30:53 +0200 Subject: Mostly revert the rotations refactor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Quaternions are actually easier to use in most use cases. Added some convenience functionality for QML to enable using axis/angle combinations, too. Change-Id: I61c76e0967b4808aa9adaf43dfe6f4596c9ce353 Reviewed-by: Tomi Korpipää --- tests/barstest/chart.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/barstest/chart.cpp') diff --git a/tests/barstest/chart.cpp b/tests/barstest/chart.cpp index df71a0ed..e7a0e2ca 100644 --- a/tests/barstest/chart.cpp +++ b/tests/barstest/chart.cpp @@ -1096,7 +1096,7 @@ void GraphModifier::triggerRotation() // Rotate the first series instead static float seriesAngle = 0.0f; if (m_graph->seriesList().size()) - m_graph->seriesList().at(0)->setMeshRotationAngle(seriesAngle++); + m_graph->seriesList().at(0)->setMeshAngle(seriesAngle++); } } -- cgit v1.2.3