src/mathfunctions.cpp

changeset 1073
a0a0d581309b
parent 1072
9ce9496427f2
child 1079
67c6e5d32e68
--- a/src/mathfunctions.cpp	Sat Jan 28 17:47:06 2017 +0200
+++ b/src/mathfunctions.cpp	Sun Jan 29 15:05:14 2017 +0200
@@ -33,7 +33,7 @@
 }
 
 
-void MathFunctions::rotateObjects(int l, int m, int n, double angle, const LDObjectList& objects) const
+void MathFunctions::rotateObjects(int l, int m, int n, double angle, const QVector<LDObject*>& objects) const
 {
 	Vertex rotationPoint = getRotationPoint (objects);
 	double cosAngle = cos(angle);
@@ -83,7 +83,7 @@
 }
 
 
-Vertex MathFunctions::getRotationPoint(const LDObjectList& objs) const
+Vertex MathFunctions::getRotationPoint(const QVector<LDObject*>& objs) const
 {
 	switch (RotationPoint (m_config->rotationPointType()))
 	{

mercurial