simplified more

Wed, 20 Jun 2018 00:00:26 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Wed, 20 Jun 2018 00:00:26 +0300
changeset 1415
006ced515057
parent 1414
04db55860880
child 1416
ba63c7286767

simplified more

src/dialogs/circularprimitiveeditor.cpp file | annotate | diff | comparison | revisions
--- a/src/dialogs/circularprimitiveeditor.cpp	Tue Jun 19 23:59:05 2018 +0300
+++ b/src/dialogs/circularprimitiveeditor.cpp	Wed Jun 20 00:00:26 2018 +0300
@@ -205,7 +205,7 @@
 	{
 		double angle = factor * 360.0 / primitive->divisions();
 		QMatrix4x4 matrix = primitive->transformationMatrix();
-		matrix.rotate(QQuaternion::fromAxisAndAngle({0.0f, 1.0f, 0.0f}, angle));
+		matrix.rotate(angle, 0, 1, 0);
 		primitive->setTransformationMatrix(matrix);
 	}
 }

mercurial