#N canvas 57 61 634 374 10; #X declare -lib Gem; #X text 452 8 GEM object; #X text 50 12 Synopsis: [accumrotate]; #X obj 8 197 cnv 15 430 130 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 63 225 Inlet 1: message: reset; #X text 64 254 Inlet 3: float: delta-rotation around Y-axis (in deg) ; #X text 64 242 Inlet 2: float: delta-rotation around X-axis (in deg) ; #X text 64 266 Inlet 4: float: delta-rotation around Z-axis (in deg) ; #X text 39 198 Inlets:; #X text 63 211 Inlet 1: gemlist; #X text 39 282 Outlets:; #X text 57 295 Outlet 1: gemlist; #X obj 8 156 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577 0; #X text 17 155 Arguments:; #X text 63 166 initial rotations around X \, Y \, Z-axes; #X obj 8 76 cnv 15 430 70 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 42 95 [accumrotate] accepts a gemList and changes the current transformation matrix by the specified delta-rotation; #X text 41 130 the delta-values add to the current rotation-matrix. ; #X text 29 77 Description: accumulated rotation; #X obj 449 77 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 0; #X text 453 60 Example:; #X obj 514 254 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 0; #N canvas 0 22 450 300 gemwin 0; #X obj 132 136 gemwin; #X obj 67 89 outlet; #X obj 67 10 inlet; #X obj 67 41 route create; #X msg 67 70 set destroy; #X msg 142 68 set create; #X msg 132 112 create \, 1; #X msg 198 112 destroy; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 3 0 6 0; #X connect 3 1 5 0; #X connect 3 1 7 0; #X connect 4 0 1 0; #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; #X restore 519 293 pd gemwin; #X msg 519 274 create; #X text 515 253 Create window:; #X text 71 31 Class: manipulation object; #X obj 450 158 cnv 15 160 60 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 451 84 gemhead; #X obj 451 233 square; #X msg 478 108 reset; #X msg 531 163 10; #X text 490 139 click repeatedly; #X obj 451 186 accumrotate 45 0 0; #X msg 491 163 5; #X msg 572 163 15; #X text 34 335 see also:; #X obj 143 337 rotateXYZ; #X obj 95 337 rotate; #X obj 520 8 declare -lib Gem; #X connect 21 0 22 0; #X connect 22 0 21 0; #X connect 26 0 31 0; #X connect 28 0 31 0; #X connect 29 0 31 2; #X connect 31 0 27 0; #X connect 32 0 31 1; #X connect 33 0 31 3;