-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathcuboid-help.pd
55 lines (55 loc) · 2.05 KB
/
cuboid-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
#N canvas 289 160 710 363 10;
#X declare -lib Gem;
#X text 54 30 Class: geometric object;
#X obj 519 47 cnv 15 170 250 empty empty empty 20 12 0 14 #dce4fc #404040 0;
#X text 525 29 Example:;
#X obj 7 65 cnv 15 450 80 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X obj 8 216 cnv 15 450 130 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X text 9 221 Inlets:;
#X obj 8 156 cnv 15 450 50 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 17 155 Arguments:;
#X text 27 247 Inlet 1: message: draw [line|fill|point];
#X text 452 8 GEM object;
#X text 27 233 Inlet 1: gemlist;
#X text 9 310 Outlets:;
#X text 21 323 Outlet 1: gemlist;
#X obj 522 82 cnv 15 160 120 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X msg 525 95 draw line;
#X msg 525 116 draw fill;
#X msg 525 138 draw point;
#X obj 593 54 gemhead;
#X floatatom 605 104 5 0 0 0 - - - 0;
#X obj 593 179 cuboid;
#X floatatom 617 134 5 0 0 0 - - - 0;
#X floatatom 630 162 5 0 0 0 - - - 0;
#X text 605 88 length;
#X text 617 118 height;
#X text 630 146 depth;
#X text 63 167 dimensions of the cuboid (length width height);
#X text 7 69 Description: Renders a cuboid box.;
#X text 16 86 The cuboid object renders a cuboid (box) at the current position with current color. The dimensions of the cuboid can be changed via the last three inlets.;
#X text 33 14 Synopsis: [cuboid];
#X text 27 260 Inlet 2: float: length (dimX);
#X text 27 275 Inlet 3: float: height (dimY);
#X text 27 289 Inlet 4: float: depth (dimZ);
#X text 65 181 default: 1 1 0;
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION Renders a cuboid box.;
#X text 10 65 KEYWORDS Gem openGL shape;
#X text 20 85 INLET_0 gemlist draw;
#X text 20 105 INLET_1 float;
#X text 20 125 INLET_2 float;
#X text 20 145 INLET_3 float;
#X text 20 165 OUTLET_0 gemlist;
#X text 10 185 AUTHOR IOhannes m zmölnig;
#X text 10 205 LICENSE GPL v2;
#X restore 588 8 pd META;
#X obj 595 244 _gemwin;
#X connect 14 0 19 0;
#X connect 15 0 19 0;
#X connect 16 0 19 0;
#X connect 17 0 19 0;
#X connect 18 0 19 1;
#X connect 20 0 19 2;
#X connect 21 0 19 3;