blob: fa79b39ee448c0732ac4332f648e1af9df9d3685 (
plain)
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
|
#N canvas 560 411 434 311 10;
#X text 178 151 args: none;
#X text 177 172 inlet: accepts list of 3 floats;
#X text 178 196 outlet: list of 3 floats <X Y Z>;
#X msg 21 85 7 0 0;
#X msg 37 106 2 1 3;
#X msg 57 128 13.23 3.1 9.86;
#X obj 41 190 unpack f f f;
#X floatatom 41 215 5 0 0 0 - - -;
#X floatatom 80 215 5 0 0 0 - - -;
#X floatatom 120 215 5 0 0 0 - - -;
#X floatatom 21 270 5 0 0 0 - - -;
#X text 62 269 the magnitude of the output vector is always 1;
#X obj 21 239 mtl/3dMagnitude;
#X obj 21 153 mtl/3dNormalize;
#X obj 11 7 cnv 15 380 60 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 16 49 tags: 3d;
#X text 113 49 Author: Roman Haefeli;
#X text 266 49 Version: 2007-12-09;
#X text 18 10 Description: Normalizes the incoming vector.;
#X connect 3 0 13 0;
#X connect 4 0 13 0;
#X connect 5 0 13 0;
#X connect 6 0 7 0;
#X connect 6 1 8 0;
#X connect 6 2 9 0;
#X connect 12 0 10 0;
#X connect 13 0 6 0;
#X connect 13 0 12 0;
|