#N canvas 130 61 696 468 10;
#X declare -lib Gem;
#X text 54 30 Class: geometric object;
#X obj 479 107 cnv 15 200 250 empty empty empty 20 12 0 14 #dce4fc #404040 0;
#X obj 7 65 cnv 15 450 80 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X obj 8 196 cnv 15 450 220 empty empty empty 20 12 0 14 #e0e0e0 #404040 0;
#X text 9 201 Inlets:;
#X obj 8 156 cnv 15 450 30 empty empty empty 20 12 0 14 #bcbcbc #404040 0;
#X text 17 155 Arguments:;
#X text 27 227 Inlet 1: message: draw [line|fill|point];
#X text 512 8 GEM object;
#X text 27 213 Inlet 1: gemlist;
#X text 9 380 Outlets:;
#X text 21 393 Outlet 1: gemlist;
#X text 485 89 Example:;
#X obj 482 137 cnv 15 190 110 empty empty empty 20 12 0 14 #4cfc4c #404040 0;
#X obj 534 252 cnv 15 100 30 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X msg 485 145 draw line;
#X msg 485 166 draw fill;
#X msg 485 188 draw point;
#X obj 543 114 gemhead;
#X msg 572 178 0 0 1;
#X msg 565 159 0 1 0;
#X msg 557 140 1 0 0;
#X text 600 140 (XYZ)1;
#X text 610 158 (XYZ)2;
#X text 620 178 (XYZ)3;
#X msg 597 238 0 0 1;
#X msg 590 219 0 1 0;
#X msg 582 200 1 0 0;
#X text 625 200 (XYZ)1;
#X text 635 218 (XYZ)2;
#X text 645 238 (XYZ)3;
#X text 32 14 Synopsis: [primTri];
#X text 7 69 Description: Renders a triangle with gradient colors.;
#X text 16 86 The [primTri] object renders a triangle. The corner-points can be specified with respect to position and color.;
#X text 63 166 (none);
#X text 27 248 Inlet 2: list: 3(XYZ) float values (position of 1st corner);
#X text 27 265 Inlet 3: list: 3(XYZ) float values (position of 2nd corner);
#X text 27 282 Inlet 4: list: 3(XYZ) float values (position of 3rd corner);
#X text 27 298 Inlet 5: list: 3(RGB) or 4(RGBA) float values (color of 1st corner);
#X text 27 325 Inlet 6: list: 3(RGB) or 4(RGBA) float values (color of 2nd corner);
#X text 27 352 Inlet 7: list: 3(RGB) or 4(RGBA) float values (color of 3rd corner);
#X obj 543 259 primTri, f 10;
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION Renders a triangle with gradient colors.;
#X text 10 65 KEYWORDS Gem openGL shape;
#X text 20 85 INLET_0 gemlist draw;
#X text 20 105 INLET_1 list;
#X text 20 125 INLET_2 list;
#X text 20 145 INLET_3 list;
#X text 20 165 INLET_4 list;
#X text 20 185 INLET_5 list;
#X text 20 205 INLET_6 list;
#X text 20 225 OUTLET_0 gemlist;
#X text 10 245 AUTHOR IOhannes m zmölnig;
#X text 10 265 LICENSE GPL-2.0-or-later;
#X restore 578 8 pd META;
#X obj 491 296 _gemwin;
#X connect 15 0 41 0;
#X connect 16 0 41 0;
#X connect 17 0 41 0;
#X connect 18 0 41 0;
#X connect 19 0 41 3;
#X connect 20 0 41 2;
#X connect 21 0 41 1;
#X connect 25 0 41 6;
#X connect 26 0 41 5;
#X connect 27 0 41 4;
