#N canvas 290 157 710 345 10; #X declare -lib Gem; #X text 54 30 Class: geometric object; #X obj 479 47 cnv 15 180 250 empty empty empty 20 12 0 14 -228992 -66577 0; #X obj 544 224 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 0; #N canvas 0 0 450 300 gemwin 0; #X obj 132 136 gemwin; #X obj 67 89 outlet; #X obj 67 10 inlet; #X obj 67 41 route create; #X msg 67 70 set destroy; #X msg 142 68 set create; #X msg 198 112 destroy; #X msg 132 112 create \, 1; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 3 0 7 0; #X connect 3 1 5 0; #X connect 3 1 6 0; #X connect 4 0 1 0; #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; #X restore 549 263 pd gemwin; #X msg 549 244 create; #X text 545 223 Create window:; #X text 485 29 Example:; #X obj 7 65 cnv 15 450 80 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 8 216 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 9 221 Inlets:; #X obj 8 146 cnv 15 450 50 empty empty empty 20 12 0 14 -195568 -66577 0; #X text 17 145 Arguments:; #X text 27 261 Inlet 2: float: size; #X text 452 8 GEM object; #X text 27 233 Inlet 1: gemlist; #X text 9 287 Outlets:; #X text 21 300 Outlet 1: gemlist; #X text 33 14 Synopsis: [cone]; #X text 7 69 Description: Renders a cone.; #X text 14 86 The cone object renders a cone at the current position with current color. The look of the cone can be changed with the draw message \, its size can be changed via the second inlet.; #X obj 542 130 cnv 15 100 80 empty empty empty 20 12 0 14 -24198 -66577 0; #X msg 485 65 draw line; #X msg 485 86 draw fill; #X msg 485 108 draw point; #X obj 553 54 gemhead; #X floatatom 569 144 5 0 0 2 size - -; #X obj 553 79 rotateXYZ 90 0 0; #X floatatom 586 171 5 0 0 2 segments - -; #X text 27 272 Inlet 3: int: number of segments; #X obj 553 189 cone 1; #X text 64 180 defaults: 1 10; #X text 63 162 size of the cone \, number of segments; #X text 27 247 Inlet 1: message: draw [line|fill|point|default]; #X obj 548 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 21 0 29 0; #X connect 22 0 29 0; #X connect 23 0 29 0; #X connect 24 0 26 0; #X connect 25 0 29 1; #X connect 26 0 29 0; #X connect 27 0 29 2;