#N canvas 91 105 706 465 10;
#X declare -lib Gem;
#X text 54 30 Class: geometric object;
#X obj 470 65 cnv 15 230 390 empty empty empty 20 12 0 14 #dce4fc #404040 0;
#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 150 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 27 302 Inlet 2: float: size;
#X text 508 11 GEM object;
#X text 27 233 Inlet 1: gemlist;
#X text 9 321 Outlets:;
#X text 21 334 Outlet 1: gemlist;
#X text 476 47 Example:;
#X obj 473 96 cnv 15 220 280 empty empty empty 20 12 0 14 #14e814 #404040 0;
#X msg 476 127 draw line;
#X msg 476 146 draw point;
#X obj 544 72 gemhead;
#X floatatom 647 318 5 0 0 0 - - - 0;
#X text 647 302 size;
#X text 32 14 Synopsis: [mesh_square];
#X obj 545 342 mesh_square 3 3;
#X msg 476 108 draw default;
#X msg 478 223 grid \$1;
#X floatatom 478 205 5 0 0 0 - - - 0;
#X floatatom 483 247 5 0 0 0 - - - 0;
#X msg 483 265 gridX \$1;
#X floatatom 552 247 5 0 0 0 - - - 0;
#X msg 552 265 gridY \$1;
#X obj 478 292 t a;
#X obj 476 167 t a;
#X text 7 69 Description: Renders a mesh;
#X text 63 186 resolution of the mesh;
#X text 27 247 Inlet 1: message: draw [line|default|point];
#X text 27 261 Inlet 1: list: grid float : change the grid resolution;
#X text 27 274 Inlet 1: list: gridX float : change the X grid resolution;
#X text 27 288 Inlet 1: list: gridY float : change the Y grid resolution;
#X text 16 86 The [mesh_square] object renders a mesh in a square at the current position with current color. The size of the square can be changed via the second inlet. This object is useful when working with vertex_shader;
#N canvas 484 243 450 300 META 0;
#X obj 10 25 declare -lib Gem;
#X text 10 45 DESCRIPTION Renders a mesh;
#X text 10 65 KEYWORDS Gem openGL shape;
#X text 20 85 INLET_0 gemlist draw list;
#X text 20 105 INLET_1 float;
#X text 20 125 OUTLET_0 gemlist;
#X text 10 145 AUTHOR IOhannes m zmölnig;
#X text 10 165 LICENSE GPL v2;
#X restore 578 8 pd META;
#X obj 603 402 _gemwin;
#X connect 14 0 29 0;
#X connect 15 0 29 0;
#X connect 16 0 20 0;
#X connect 17 0 20 1;
#X connect 21 0 29 0;
#X connect 22 0 28 0;
#X connect 23 0 22 0;
#X connect 24 0 25 0;
#X connect 25 0 28 0;
#X connect 26 0 27 0;
#X connect 27 0 28 0;
#X connect 28 0 20 0;
#X connect 29 0 20 0;
