forked from reduzent/pd-vectorabs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathv3_rotate-help.pd
38 lines (38 loc) · 1.17 KB
/
v3_rotate-help.pd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#N canvas 14 1 658 396 10;
#X obj 27 210 unpack f f f;
#X floatatom 27 235 5 0 0 0 - - -;
#X floatatom 66 235 5 0 0 0 - - -;
#X floatatom 106 235 5 0 0 0 - - -;
#X text 338 198 2nd inlet: accepts list of 3 floats;
#X text 337 304 outlet: list of 3 floats;
#X text 100 25 - rotates the incoming vector around a specified axis
by a;
#X obj 169 125 / 180;
#X obj 169 146 * 3.14159;
#X floatatom 139 73 5 0 0 0 - - -;
#X text 184 73 degree;
#X msg 98 129 0 1 0;
#X text 353 113 args: <X> <Y> <Z> <angle>;
#X text 53 294 !!! uses [expr]-external !!!;
#X msg 27 129 3 1 4;
#X obj 139 99 t b f;
#X text 339 162 1st inlet: accepts lists of 3 floats;
#X text 395 131 rotation axis and angle;
#X text 415 217 sets the rotation axis;
#X text 413 263 sets the angle (in radian format);
#X text 114 42 specified angle (using a rotation matrix);
#X obj 27 25 v3_rotate;
#X obj 27 171 v3_rotate 0 0 1 1.5708;
#X text 337 243 3rd inlet: accepts floats;
#X msg 106 347 version 0.0.1;
#X connect 0 0 1 0;
#X connect 0 1 2 0;
#X connect 0 2 3 0;
#X connect 7 0 8 0;
#X connect 8 0 22 2;
#X connect 9 0 15 0;
#X connect 11 0 22 1;
#X connect 14 0 22 0;
#X connect 15 0 14 0;
#X connect 15 1 7 0;
#X connect 22 0 0 0;