## [cgkit-commits] cgkit2/doc/tutorials/code_examples demo3.txt,1.1,1.2

 [cgkit-commits] cgkit2/doc/tutorials/code_examples demo3.txt,1.1,1.2 From: Matthias Baas - 2005-04-15 15:36:26 ```Update of /cvsroot/cgkit/cgkit2/doc/tutorials/code_examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31855/tutorials/code_examples Modified Files: demo3.txt Log Message: Inverted the euler angle order to accommodate to the changes in alpha3 Index: demo3.txt =================================================================== RCS file: /cvsroot/cgkit/cgkit2/doc/tutorials/code_examples/demo3.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** demo3.txt 19 Dec 2004 21:22:47 -0000 1.1 --- demo3.txt 15 Apr 2005 15:36:16 -0000 1.2 *************** *** 43,47 **** # Animate the center sphere (all other objects will move with it) ! e = Expression("mat3().fromEulerXYZ(pi*sin(0.2*t), 0, -1.4*t)") e.output_slot.connect(hub.rot_slot) --- 43,47 ---- # Animate the center sphere (all other objects will move with it) ! e = Expression("mat3().fromEulerZYX(pi*sin(0.2*t), 0, -1.4*t)") e.output_slot.connect(hub.rot_slot) *************** *** 72,76 **** # Animate the rotation of the cylinder # (the z angle will "position" the cylinder at the correct angle around the hub) ! e = Expression("mat3().fromEulerXYZ(0, 0.3*sin(%f+2*t)+pi/2, %f)"%(4*a*pi, 2*a*pi)) e.output_slot.connect(c.rot_slot) --- 72,76 ---- # Animate the rotation of the cylinder # (the z angle will "position" the cylinder at the correct angle around the hub) ! e = Expression("mat3().fromEulerZYX(0, 0.3*sin(%f+2*t)+pi/2, %f)"%(4*a*pi, 2*a*pi)) e.output_slot.connect(c.rot_slot) ```

 [cgkit-commits] cgkit2/doc/tutorials/code_examples demo3.txt,1.1,1.2 From: Matthias Baas - 2005-04-15 15:36:26 ```Update of /cvsroot/cgkit/cgkit2/doc/tutorials/code_examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31855/tutorials/code_examples Modified Files: demo3.txt Log Message: Inverted the euler angle order to accommodate to the changes in alpha3 Index: demo3.txt =================================================================== RCS file: /cvsroot/cgkit/cgkit2/doc/tutorials/code_examples/demo3.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** demo3.txt 19 Dec 2004 21:22:47 -0000 1.1 --- demo3.txt 15 Apr 2005 15:36:16 -0000 1.2 *************** *** 43,47 **** # Animate the center sphere (all other objects will move with it) ! e = Expression("mat3().fromEulerXYZ(pi*sin(0.2*t), 0, -1.4*t)") e.output_slot.connect(hub.rot_slot) --- 43,47 ---- # Animate the center sphere (all other objects will move with it) ! e = Expression("mat3().fromEulerZYX(pi*sin(0.2*t), 0, -1.4*t)") e.output_slot.connect(hub.rot_slot) *************** *** 72,76 **** # Animate the rotation of the cylinder # (the z angle will "position" the cylinder at the correct angle around the hub) ! e = Expression("mat3().fromEulerXYZ(0, 0.3*sin(%f+2*t)+pi/2, %f)"%(4*a*pi, 2*a*pi)) e.output_slot.connect(c.rot_slot) --- 72,76 ---- # Animate the rotation of the cylinder # (the z angle will "position" the cylinder at the correct angle around the hub) ! e = Expression("mat3().fromEulerZYX(0, 0.3*sin(%f+2*t)+pi/2, %f)"%(4*a*pi, 2*a*pi)) e.output_slot.connect(c.rot_slot) ```