#N canvas 15 61 724 431 10;
#X declare -lib Gem;
#X obj 17 299 cnv 15 430 90 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 28 302 Inlets:;
#X text 28 339 Outlets:;
#X obj 17 264 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577
0;
#X text 26 263 Arguments:;
#X obj 17 69 cnv 15 430 190 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 46 352 Outlet 1: gemlist;
#X text 52 316 Inlet 1: gemlist;
#X text 466 15 GEM object;
#X obj 459 77 cnv 15 250 300 empty empty empty 20 12 0 14 -228992 -66577
0;
#X text 463 60 Example:;
#X obj 604 313 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 16 419 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 268 112 destroy;
#X msg 132 112 create \, 1;
#X obj 264 174 gemhead;
#X obj 264 200 world_light;
#X obj 238 68 r \$0-gemwin;
#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 connect 8 0 9 0;
#X connect 10 0 0 0;
#X restore 609 352 pd gemwin;
#X msg 609 333 create;
#X text 605 312 Create window:;
#X obj 460 106 cnv 15 240 90 empty empty empty 20 12 0 14 -24198 -66577
0;
#X obj 461 84 gemhead 51;
#X obj 461 172 depth;
#X text 60 22 Synopsis: [depth];
#X text 81 41 Class: manips object;
#X text 27 72 Description: Activate / Deactivate depth test;
#X text 26 93 [depth] turns on and off depth test (also known as Z-buffering).
This is very useful if you are in single-buffer mode \, because then
a painting effect can be achieved. In double-buffered mode \, you probably
do not want to turn off the depth test \, unless you have taken control
of the rendering order by setting the priority of each gemhead (see
the gemhead example for explanation).;
#X obj 496 114 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X text 26 189 By default \, this object will turn OFF depth buffering
for the objects "below".;
#X text 72 274 float (0/1) : depth test on/off;
#X text 52 329 Inlet 1: float (0/1) : depth test on/off;
#X obj 461 293 cube;
#X obj 461 260 rotateXYZ 0 30 30;
#X floatatom 560 239 5 0 0 0 - - -;
#X floatatom 494 202 5 0 0 0 - - -;
#X floatatom 527 218 5 0 0 0 - - -;
#X obj 607 210 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X msg 607 229 lighting \$1;
#X obj 607 252 s \$0-gemwin;
#X text 630 210 lighting;
#X text 516 113 turn depth test on/off;
#X obj 608 8 declare -lib Gem;
#X connect 12 0 13 0;
#X connect 13 0 12 0;
#X connect 16 0 17 0;
#X connect 17 0 27 0;
#X connect 22 0 17 0;
#X connect 27 0 26 0;
#X connect 28 0 27 3;
#X connect 29 0 27 1;
#X connect 30 0 27 2;
#X connect 31 0 32 0;
#X connect 32 0 33 0;
