Print

Print


Commit in GeomConverter/src/org/lcsim/detector on MAIN
Rotation3D.java+6-61.2 -> 1.3
Changed convention to match lcdd converter.

GeomConverter/src/org/lcsim/detector
Rotation3D.java 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- Rotation3D.java	26 Feb 2007 19:25:19 -0000	1.2
+++ Rotation3D.java	26 Feb 2007 19:31:43 -0000	1.3
@@ -72,8 +72,8 @@
 		double cos = Math.cos(angle);
 		BasicHep3Matrix rotation = BasicHep3Matrix.identity();
 		rotation.setElement(1,1,cos);
-		rotation.setElement(1,2,sin);
-		rotation.setElement(2,1,-sin);
+		rotation.setElement(1,2,-sin);
+		rotation.setElement(2,1,sin);
 		rotation.setElement(2,2,cos);
 		return rotation;
 	}
@@ -84,8 +84,8 @@
 		double cos = Math.cos(angle);
 		BasicHep3Matrix rotation = BasicHep3Matrix.identity();
 		rotation.setElement(0,0,cos);
-		rotation.setElement(0,2,sin);
-		rotation.setElement(2,0,-sin);        
+		rotation.setElement(0,2,-sin);
+		rotation.setElement(2,0,sin);        
 		rotation.setElement(2,2,cos);
 		return rotation;
 	}
@@ -96,8 +96,8 @@
 		double cos = Math.cos(angle);
 		BasicHep3Matrix rotation = BasicHep3Matrix.identity();
 		rotation.setElement(0,0,cos);
-		rotation.setElement(0,1,sin);
-		rotation.setElement(1,0,-sin);
+		rotation.setElement(0,1,-sin);
+		rotation.setElement(1,0,sin);
 		rotation.setElement(1,1,cos);
 		return rotation;
 	}    
CVSspam 0.2.8