-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathof.box-help.pd
70 lines (70 loc) · 2.01 KB
/
of.box-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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#N canvas 621 235 631 387 12;
#X declare -lib ofelia;
#X obj 9 10 cnv 15 600 60 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 27 89 of.draw;
#X msg 71 113 draw line;
#X msg 71 137 draw point;
#X msg 71 161 draw fill;
#X floatatom 75 294 5 0 0 2 width - -;
#X floatatom 124 295 5 0 0 2 height - -;
#X text 402 99 list of all parameters;
#X floatatom 172 295 5 0 0 2 depth - -;
#X floatatom 221 294 5 0 0 2 resw - -;
#X floatatom 269 295 5 0 0 2 resh - -;
#X floatatom 318 295 5 0 0 2 resd - -;
#X text 25 20 Draw a box;
#X msg 71 208 stroke 2;
#X obj 27 321 of.box 100 100 100 5 5 5 line 1, f 42;
#X obj 462 45 declare -lib ofelia;
#X msg 180 138 orientation 45 0 0;
#X msg 180 116 position 0 100 -100;
#X msg 180 160 scale 1 2 2;
#X text 88 95 style;
#X msg 423 175 width 50;
#X text 419 154 Single parameter;
#X msg 437 224 debug \$1;
#X obj 437 203 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X text 492 176 ...;
#X text 457 201 Show center axis;
#X msg 403 136 300 100 200 5 10 10 point 3;
#X text 24 40 Args: width \, height \, depth \, resolutionW \, resolutionH
\, resolutionD \, drawmode \, strokewidth;
#X obj 403 250 of.box, f 21;
#X msg 180 182 lookat 180 120 60;
#X msg 71 231 normalsize 40;
#X msg 71 185 draw normal;
#X text 179 94 local transformation;
#X obj 518 19 of.window 1;
#X obj 497 21 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X msg 182 251 texturemap 0 0 1 1;
#X msg 181 226 texture \$1;
#X obj 181 209 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X connect 1 0 14 0;
#X connect 2 0 14 0;
#X connect 3 0 14 0;
#X connect 4 0 14 0;
#X connect 5 0 14 1;
#X connect 6 0 14 2;
#X connect 8 0 14 3;
#X connect 9 0 14 4;
#X connect 10 0 14 5;
#X connect 11 0 14 6;
#X connect 13 0 14 0;
#X connect 16 0 14 0;
#X connect 17 0 14 0;
#X connect 18 0 14 0;
#X connect 20 0 28 0;
#X connect 22 0 28 0;
#X connect 23 0 22 0;
#X connect 26 0 28 0;
#X connect 29 0 14 0;
#X connect 30 0 14 0;
#X connect 31 0 14 0;
#X connect 34 0 33 0;
#X connect 35 0 14 0;
#X connect 36 0 14 0;
#X connect 37 0 36 0;