#N canvas 279 150 677 369 10;
#X declare -lib Gem;
#X text 54 30 Class: geometric object;
#X obj 489 77 cnv 15 170 250 empty empty empty 20 12 0 14 #dce4fc #404040 0;
#X obj 554 254 cnv 15 100 60 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 495 59 Example:;
#X obj 7 65 cnv 15 450 100 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X obj 8 236 cnv 15 450 120 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X text 11 237 Inlets:;
#X obj 8 176 cnv 15 450 55 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 17 175 Arguments:;
#X text 29 277 Inlet 2: float: size;
#X text 482 8 GEM object;
#X text 29 249 Inlet 1: gemlist;
#X text 11 326 Outlets:;
#X text 23 339 Outlet 1: gemlist;
#X obj 492 111 cnv 15 150 100 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X msg 495 118 draw line;
#X msg 495 141 draw fill;
#X obj 563 84 gemhead;
#X floatatom 573 116 5 -5 5 2 size - - 0;
#X floatatom 583 144 5 0 20 2 slices - - 0;
#X text 29 291 Inlet 3: float: number of slices;
#X text 29 263 Inlet 1: message: draw [line|fill|points];
#X text 14 130 You can also specify the "number of slices" via the 3rd inlet.;
#X msg 496 162 draw point;
#X text 33 14 Synopsis: [torus];
#X text 63 186 size of the torus;
#X text 7 69 Description: Renders a torus.;
#X text 15 88 The torus object renders a torus (aka: doughnut) at the current position with current color. The size of the torus can be changed via the second inlet.;
#X floatatom 593 171 5 0 20 2 thickness - - 0;
#X obj 563 189 torus 1;
#X text 63 199 # of slices;
#X text 62 214 thickness (R-r);
#X text 29 307 Inlet 3: float: thickness of the torus (R-r);
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION Renders a torus.;
#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 OUTLET_0 gemlist;
#X text 10 165 AUTHOR IOhannes m zmölnig;
#X text 10 185 LICENSE GPL v2;
#X restore 548 8 pd META;
#X obj 561 261 _gemwin;
#X connect 15 0 29 0;
#X connect 16 0 29 0;
#X connect 17 0 29 0;
#X connect 18 0 29 1;
#X connect 19 0 29 2;
#X connect 23 0 29 0;
#X connect 28 0 29 3;
