src/ldObject.cpp

changeset 1068
283de3bd8b0e
parent 1065
c8ecddbd99e9
child 1070
292c64cb2a75
--- a/src/ldObject.cpp	Sat Jan 28 16:30:27 2017 +0200
+++ b/src/ldObject.cpp	Sat Jan 28 17:14:05 2017 +0200
@@ -702,13 +702,13 @@
 		Matrix matrixModifier = IdentityMatrix;
 
 		if (axisSet & (1 << X))
-			matrixModifier[0] = -1;
+			matrixModifier(0, 0) = -1;
 
 		if (axisSet & (1 << Y))
-			matrixModifier[4] = -1;
+			matrixModifier(1, 1) = -1;
 
 		if (axisSet & (1 << Z))
-			matrixModifier[8] = -1;
+			matrixModifier(2, 2) = -1;
 
 		setTransformationMatrix (transformationMatrix() * matrixModifier);
 		return;

mercurial