From 68729718fce729bfdca438af1ac26971baf64218 Mon Sep 17 00:00:00 2001 From: Franz Zotter Date: Sat, 28 Nov 2009 12:41:04 +0000 Subject: added abstractions for 3x3 and 2x2 rotation matrices and spherical to cartesian coordinates conversion. [mtx_sph2cart][mtx_cart2sph] [mtx_rot][mtx_rotx][mtx_roty][mtx_rotz][mtx_rotxyz][mtx_rotzyz] svn path=/trunk/externals/iem/iemmatrix/; revision=12812 --- abs/mtx_rotzyz.pd | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 abs/mtx_rotzyz.pd (limited to 'abs/mtx_rotzyz.pd') diff --git a/abs/mtx_rotzyz.pd b/abs/mtx_rotzyz.pd new file mode 100644 index 0000000..08ae6c1 --- /dev/null +++ b/abs/mtx_rotzyz.pd @@ -0,0 +1,25 @@ +#N canvas 98 59 450 317 10; +#X obj 244 21 inlet beta_y; +#X obj 327 21 inlet gamma_z; +#X obj 72 278 outlet; +#X obj 72 104 pack f f f; +#X obj 72 21 inlet alpha_z \; [alpha_z \, beta_y \, gamma_y(; +#X obj 107 231 mtx_*; +#X obj 72 252 mtx_*; +#X obj 72 125 unpack f f f; +#X text 211 179 3x3 rotation matrix; +#X obj 106 187 mtx_roty; +#X obj 141 159 mtx_rotz; +#X obj 72 208 mtx_rotz; +#X connect 0 0 3 1; +#X connect 1 0 3 2; +#X connect 3 0 7 0; +#X connect 4 0 3 0; +#X connect 5 0 6 1; +#X connect 6 0 2 0; +#X connect 7 0 11 0; +#X connect 7 1 9 0; +#X connect 7 2 10 0; +#X connect 9 0 5 0; +#X connect 10 0 5 1; +#X connect 11 0 6 0; -- cgit v1.2.1