src/toolsets/algorithmtoolset.cpp

changeset 1013
fa025ba493d8
parent 1012
413ecd6b9801
child 1014
f0a8ecb6a357
--- a/src/toolsets/algorithmtoolset.cpp	Wed Nov 18 19:05:22 2015 +0200
+++ b/src/toolsets/algorithmtoolset.cpp	Thu Nov 19 00:43:18 2015 +0200
@@ -161,12 +161,12 @@
 
 			v.apply ([&](Axis, double& a)
 			{
-				RoundToDecimals (a, Config->roundPositionPrecision());
+				roundToDecimals (a, Config->roundPositionPrecision());
 			});
 
-			ApplyToMatrix (t, [&](int, double& a)
+			applyToMatrix (t, [&](int, double& a)
 			{
-				RoundToDecimals (a, Config->roundMatrixPrecision());
+				roundToDecimals (a, Config->roundMatrixPrecision());
 			});
 
 			mo->setPosition (v);
@@ -180,7 +180,7 @@
 				Vertex v = obj->vertex (i);
 				v.apply ([&](Axis, double& a)
 				{
-					RoundToDecimals (a, Config->roundPositionPrecision());
+					roundToDecimals (a, Config->roundPositionPrecision());
 				});
 				obj->setVertex (i, v);
 				num += 3;

mercurial