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_rot.pd | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 abs/mtx_rot.pd (limited to 'abs/mtx_rot.pd') diff --git a/abs/mtx_rot.pd b/abs/mtx_rot.pd new file mode 100644 index 0000000..c1622dc --- /dev/null +++ b/abs/mtx_rot.pd @@ -0,0 +1,26 @@ +#N canvas 570 39 450 393 10; +#X obj 94 26 inlet; +#X obj 94 237 outlet; +#X obj 151 97 sin; +#X obj 94 95 cos; +#X obj 151 115 t f f; +#X obj 151 135 * -1; +#X obj 94 173 mtx_diag; +#X obj 94 207 mtx_+; +#X obj 151 154 pack f f; +#X obj 94 54 t f f; +#X obj 151 175 mtx_diegg; +#X msg 94 153 \$1 \$1; +#X connect 0 0 9 0; +#X connect 2 0 4 0; +#X connect 3 0 11 0; +#X connect 4 0 5 0; +#X connect 4 1 8 1; +#X connect 5 0 8 0; +#X connect 6 0 7 0; +#X connect 7 0 1 0; +#X connect 8 0 10 0; +#X connect 9 0 3 0; +#X connect 9 1 2 0; +#X connect 10 0 7 1; +#X connect 11 0 6 0; -- cgit v1.2.1