#N canvas 27 382 680 461 10;
#X declare -lib Gem;
#X text 475 39 Example:;
#X obj 7 65 cnv 15 450 100 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X obj 8 216 cnv 15 450 180 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X text 9 221 Inlets:;
#X obj 8 176 cnv 15 450 30 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 17 175 Arguments:;
#X text 492 8 GEM object;
#X text 27 233 Inlet 1: gemlist;
#X text 9 358 Outlets:;
#X text 21 371 Outlet 1: gemlist;
#X obj 469 58 cnv 15 200 270 empty empty empty 20 12 0 14 #dce4fc #404040 0;
#X obj 474 85 cnv 15 190 200 empty empty empty 20 12 0 14 #50fc50 #404040 0;
#X obj 521 292 cnv 15 100 30 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X msg 479 136 draw line;
#X msg 479 91 draw fill;
#X msg 479 113 draw point;
#X obj 537 64 gemhead;
#X msg 605 194 0 \$1 0;
#X msg 585 92 1 1 0;
#X msg 593 112 1 -1 0;
#X floatatom 605 177 5 0 0 0 - - - 0;
#X msg 603 152 -2 1 0;
#X text 21 138 Each (additional) inlet will accept an X Y Z point which is where the control point will be.;
#X text 26 309 Inlet 2: list: 3(XYZ) float values;
#X text 26 330 Inlet N: list: 3(XYZ) float values;
#X text 51 317 ...;
#X text 27 293 Inlet 1: message: width <float> : line-width;
#X msg 599 132 -1 -1 -3;
#X text 63 187 number of control-points of the curve (mandatory);
#X msg 479 156 draw linestrip;
#X msg 479 176 draw tri;
#X msg 479 198 draw tristrip;
#X msg 478 221 draw trifan;
#X msg 478 242 draw quad;
#X msg 478 264 draw quadstrip;
#X text 27 247 Inlet 1: message: draw [line|linestrip|fill|point|tri|tristrip|trifan|quad|quadstrip];
#X text 54 30 Class: geometric object;
#X text 33 14 Synopsis: [polygon];
#X text 7 69 Description: Renders a polygon.;
#X text 22 88 [polygon] creates a polygon graphics. The initial argument is the number of points in the polygon. The maximum number of points is unlimited.;
#X obj 537 299 polygon 5;
#X msg 603 246 width \$1;
#X floatatom 619 226 5 0 10 0 - - - 0;
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION Renders a polygon.;
#X text 10 65 KEYWORDS Gem openGL shape;
#X text 20 85 INLET_0 gemlist draw width;
#X text 20 105 INLET_1 list;
#X text 20 125 INLET_N list;
#X text 20 145 OUTLET_0 gemlist;
#X text 10 165 AUTHOR IOhannes m zmölnig;
#X text 10 185 LICENSE GPL-2.0-or-later;
#X restore 568 8 pd META;
#X obj 514 340 _gemwin;
#X connect 13 0 40 0;
#X connect 14 0 40 0;
#X connect 15 0 40 0;
#X connect 16 0 40 0;
#X connect 17 0 40 5;
#X connect 18 0 40 1;
#X connect 19 0 40 2;
#X connect 20 0 17 0;
#X connect 21 0 40 4;
#X connect 27 0 40 3;
#X connect 29 0 40 0;
#X connect 30 0 40 0;
#X connect 31 0 40 0;
#X connect 32 0 40 0;
#X connect 33 0 40 0;
#X connect 34 0 40 0;
#X connect 41 0 40 0;
#X connect 42 0 41 0;
